-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.cfg
106 lines (93 loc) · 2.3 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
103
104
105
106
[metadata]
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: Internet :: WWW/HTTP
Topic :: Software Development
Topic :: Text Processing :: Markup :: HTML
Topic :: Utilities
[options.extras_require]
dev =
isort == 5.7.0
mypy == 1.8.0
pylint == 3.0.3
yapf == 0.30.0
pytest >= 5.1.2
pytest-cov >= 2.7.1
types-requests == 2.31.0
docs =
sphinx >= 2.4
sphinx_rtd_theme >= 0.4
[yapf]
column_limit = 9999
[isort]
line_length = 9999
default_section = THIRDPARTY
known_first_party = onlinejudge
[pylint]
# run: pylint --rcfile=setup.cfg modules_or_packages
argument-rgx = [_a-z][0-9_a-z]{0,30}$
variable-rgx = [_a-z][0-9_a-z]{0,30}$
disable =
abstract-method,
arguments-differ,
arguments-renamed,
bare-except,
broad-except,
consider-using-f-string,
consider-using-from-import,
dangerous-default-value,
duplicate-code,
fixme,
format-string-without-interpolation,
global-statement,
inconsistent-return-statements,
line-too-long,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
missing-timeout,
no-else-break,
no-else-raise,
no-else-return,
no-member,
protected-access,
redefined-builtin,
subprocess-popen-preexec-fn,
too-few-public-methods,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-statements,
undefined-loop-variable,
unnecessary-lambda,
unused-argument,
unused-wildcard-import,
useless-super-delegation,
wildcard-import,
wrong-import-order,
[mypy]
[mypy-appdirs.*]
ignore_missing_imports = True
[mypy-bs4.*]
ignore_missing_imports = True
[mypy-colorlog.*]
ignore_missing_imports = True
[mypy-jsonschema.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-sympy.*]
ignore_missing_imports = True
[mypy-typing.io.*]
ignore_missing_imports = True