-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
56 lines (51 loc) · 1.38 KB
/
Copy path.flake8
File metadata and controls
56 lines (51 loc) · 1.38 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
[flake8]
max-line-length = 100
max-complexity = 10
exclude =
.git,
__pycache__,
build,
dist,
*.egg-info,
venv,
.env,
.venv,
tests/fixtures/*,
docs/*
ignore =
# E203: whitespace before ':' (black formats differently)
E203,
# W503: line break before binary operator (black formats differently)
W503,
# E231: missing whitespace after ',' (black formats differently)
E231,
# E266: too many leading '#' for block comment
E266,
# F403: 'from module import *' used
F403,
# F405: name may be undefined, or defined from star imports
F405
per-file-ignores =
# F401: imported but unused (ignore in __init__.py files)
__init__.py:F401
# E402: module level import not at top of file (for scripts that need to set env vars first)
scripts/*:E402
# Additional configuration
show-source = True
statistics = True
count = True
format = "%(path)s:%(row)d:%(col)d: %(code)s %(text)s"
# Docstring configuration
docstring-convention = google
extend-ignore =
# D100: Missing docstring in public module
D100,
# D104: Missing docstring in public package
D104,
# D105: Missing docstring in magic method
D105,
# D107: Missing docstring in __init__
D107
# Import order configuration
import-order-style = google
application-import-names = scraper