-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.cfg
More file actions
63 lines (59 loc) · 1.69 KB
/
setup.cfg
File metadata and controls
63 lines (59 loc) · 1.69 KB
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
55
56
57
58
59
60
61
62
63
[tool:pytest]
addopts = -s
testpaths = tests
norecursedirs =
env
venv
.env
.venv
collect_ignore = ['setup.py']
[isort]
atomic = True
balanced_wrapping = True
force_sort_within_sections = True
from_first = False
include_trailing_comma = True
known_first_party = polyswarm,polyswarmartifact,polyswarmclient,polyswarmcli,polyswarmapi,polyswarmmodels,polyunite
known_standard_library = typing,typing_extensions
multi_line_output = 3
use_parentheses = True
[flake8]
exclude = docs
max-line-length = 119
ignore = E402, # module imports not at top of file
E266, # Too many leading '#' in comment
E402, # module imports not at top of file
E302, # blank line expectations
E261, # at least two spaces before inline comment
E226 # missing whitespace around arithemtic, handled by yapf
E262, # inline comment should start with a #
E704, # Multiple statements on one line
E251, # unexpected spaces around keyword / parameter equals
W503, # line break before binary operator
W504, # line break after binary operator
E266, # missing whitespace around arithmetic operators
[mypy]
cache_dir = .mypy_cache
check_untyped_defs = True
files = src/
ignore_missing_imports = True
incremental = True
pretty = True
python_version = 3.6
strict_equality = True
strict_optional = False
warn_redundant_casts = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True
[yapf]
based_on_style = pep8
column_limit = 110
allow_multiline_dictionary_keys = false
align_closing_bracket_with_visual_indent = true
arithmetic_precedence_indication = true
coalesce_brackets = true
dedent_closing_brackets = true
indent_dictionary_value = true
split_all_top_level_comma_separated_values = false
split_before_dot = true