forked from online-judge-tools/api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
99 lines (86 loc) · 2.07 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
[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 == 4.3.21
mypy == 0.782
pylint == 2.5.3
yapf == 0.30.0
pytest >= 5.1.2
pytest-cov >= 2.7.1
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
disable =
abstract-method,
arguments-differ,
bad-continuation,
bare-except,
broad-except,
dangerous-default-value,
duplicate-code,
fixme,
global-statement,
inconsistent-return-statements,
invalid-name,
line-too-long,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-break,
no-else-raise,
no-else-return,
no-member,
no-self-use,
protected-access,
redefined-builtin,
subprocess-popen-preexec-fn,
too-few-public-methods,
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,
[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