-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
54 lines (42 loc) · 1.19 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[bdist_wheel]
universal = 1
[flake8]
accept-encodings = utf-8
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# Virtual environments shouldn't be checked either.
venv,
# Single line strings must be quoted with a single-quote(e.g. 'my string')
inline-quotes = single
# Multi-line strings must be quoted with 3 double-quotes(e.g. """my string""")
multiline-quotes = double
min-version = 3.5
ignore =
# Forbid all futures.
FI10, FI11, FI12, FI13, FI14 FI15, FI16, FI17,
# We are exclusively Python3 so do not need a magic coding comment.
C101,
# Binary operators must be placed at the start of lines
W503,
import-order-style = appnexus
application-import-names =
[mypy]
python_version = 3.5
show_column_numbers=True
show_error_context=False
follow_imports=silent
cache_dir=./.mypy_cache
# suppress errors about unsatisfied imports
# ignore_missing_imports=Truee
# treat Optional per PEP 484
strict_optional=True
warn_return_any=False
warn_no_return=True
warn_redundant_casts=False
warn_unused_ignores=False
disallow_untyped_calls=False
disallow_untyped_defs=False
check_untyped_defs=False