-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.flake8
More file actions
20 lines (19 loc) · 642 Bytes
/
Copy path.flake8
File metadata and controls
20 lines (19 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is an example .flake8 config, used when developing *Black* itself.
# Keep in sync with setup.cfg which is used for source packages.
[flake8]
ignore = W503, E203, E221, C901, C408, E741, C407, B017
max-line-length = 120
max-complexity = 18
select = B,C,E,F,W,T4,B9
exclude = build, detectron2
per-file-ignores =
**/__init__.py:F401,F403,E402
**/configs/**.py:F401,E402
configs/**.py:F401,E402
**/tests/config/**.py:F401,E402
tests/config/**.py:F401,E402
tests/**.py: E402
tools/**.py: E402
projects/**/configs/**.py:F401
detectron2/**.py: F401,F403,E402,F811,W391
detectron2/projects/**.py: F401,F403,E402,F811,W391