-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
102 lines (93 loc) · 2.28 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Configurations for our checks
[black]
color = True
line_length = 100
[isort]
profile = black
color_output = True
line_length = 100
[coverage:report]
show_missing = True
fail_under = 100
skip_covered = True
[coverage:run]
include = ./*
omit = ./symboliq/third_party.py
[flake8]
count = True
max-complexity = 10
max-line-length = 100
show_source = True
statistics = True
extend-ignore = E203, I100, I101, I201, I202 # these errors conflict with black and/or isort
[mypy]
ignore_missing_imports = True
show_error_codes = True
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
warn_unused_ignores = True
install_types = True
non_interactive = True
no_implicit_optional = True
plugins = numpy.typing.mypy_plugin
[pylint.MAIN]
max-line-length=100
disable=all
output-format=colorized
score=no
reports=no
enable=
anomalous-backslash-in-string,
assert-on-tuple,
bad-indentation,
bad-option-value,
bad-reversed-sequence,
bad-super-call,
consider-merging-isinstance,
continue-in-finally,
dangerous-default-value,
duplicate-argument-name,
expression-not-assigned,
function-redefined,
inconsistent-mro,
init-is-generator,
line-too-long,
lost-exception,
missing-kwoa,
mixed-line-endings,
not-callable,
no-value-for-parameter,
nonexistent-operator,
not-in-loop,
pointless-statement,
redefined-builtin,
relative-beyond-top-level,
return-arg-in-generator,
return-in-init,
return-outside-function,
simplifiable-if-statement,
syntax-error,
too-many-function-args,
trailing-whitespace,
undefined-variable,
unexpected-keyword-arg,
unhashable-dict-key,
unnecessary-pass,
unreachable,
unrecognized-inline-option,
unused-import,
unnecessary-semicolon,
unused-variable,
unused-wildcard-import,
wildcard-import,
wrong-import-order,
wrong-import-position,
yield-outside-function
# Ignore long lines containing urls or pylint directives.
ignore-long-lines=^(.*#\w*pylint: disable.*|\s*(# )?<?https?://\S+>?)$
[pylint.TYPECHECK]
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=numpy.*