This repository was archived by the owner on Jul 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathsetup.cfg
More file actions
86 lines (72 loc) · 1.87 KB
/
setup.cfg
File metadata and controls
86 lines (72 loc) · 1.87 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# All configuration for plugins and other utils is defined here.
# Read more about `setup.cfg`:
# https://docs.python.org/3/distutils/configfile.html
[flake8]
# Base flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
statistics = False
doctests = True
enable-extensions = G
count = True
max-string-usages = 4
max-local-variables = 10
max-line-length = 79
# Plugins:
accept-encodings = utf-8
max-complexity = 6
radon-max-cc = 10
radon-no-assert = True
radon-show-closures = True
# Exclude some directories:
exclude =
.git
__pycache__
migrations
.venv
# Ignore some checks for Django's standard files:
per-file-ignores =
config/*.py manage.py:
# Possible binding to all interfaces.
S104,
contrib_extras.py:
# No specific ignore rules needed
__init__.py:
# <something> imported but unused
F401
github_lib.py, github_webhook.py, misc.py:
# No specific ignore rules needed
fetchdata.py:
# No specific ignore rules needed
*/tests/*.py:
# Missing docstring in public method
D102
contributors/views/contributor.py:
# No specific ignore rules needed
contributors/views/contributor_compare.py:
# No specific ignore rules needed
ignore =
# Coding magic comment not found
C101,
# Missing parameter(s) in Docstring
DAR101,
# Missing "Returns" in Docstring
DAR201,
# Missing "Yields" in Docstring
DAR301,
# Missing exception(s) in Raises section
DAR401,
# Missing docstring in public module
D100,
# Missing docstring in public package
D104,
# Missing docstring in public nested class
D106,
# Remove bad quotes
Q000,
# Line break before binary operator
W503
[isort]
multi_line_output = 3
include_trailing_comma = true
# Should be: max-line-length - 1
line_length = 78