forked from facebookresearch/habitat-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
35 lines (33 loc) · 824 Bytes
/
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
[aliases]
test=pytest
[flake8]
select = A,B,C,F,R,W,SIM
exclude =
.git,
__pycache__,
build,
data,
dist,
docs,
src/deps
max-line-length = 88
# A003 prevents class attrs from having builtin name properties
# C401, and C402 are ignored to make scanning between dict and set easy
# C408 ignored because we like the dict keyword argument syntax
# R504 has some false positives since it doesn't care about side effects
# W503 is incompatible with Black
# SIM105 is a nice suggestion but except: ImportError is also really readable
# SIM106 has too many false positives
# SIM113 has too many false positives
ignore =
A003,
C401,C402,C408,
SIM105,SIM106,SIM113,
R504,
W503,
per-file-ignores =
*/__init__.py:F401
examples/tutorials/nb_python/*.py:B008,F841
[tool:pytest]
addopts = --verbose -rsxX -q
testpaths = test