-
Notifications
You must be signed in to change notification settings - Fork 92
/
setup.cfg
76 lines (70 loc) · 1.89 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
[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.8
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.12
Topic :: Internet :: WWW/HTTP
Topic :: Software Development
Topic :: Text Processing :: Markup :: HTML
Topic :: Utilities
[options.extras_require]
selenium =
selenium >= 3.141.0
dev =
isort == 5.7.0
mypy == 1.10.0
pylint == 3.1.0
yapf == 0.30.0
pytest >= 6.2.2, < 7
[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 =
broad-except,
consider-using-enumerate,
consider-using-f-string, # TODO: remove this
consider-using-with, # TODO: remove this
duplicate-code,
fixme,
invalid-name,
line-too-long,
logging-not-lazy, # TODO: remove this. logging-not-lazy should not be disabled if possible.
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-break,
no-else-raise,
no-else-return,
no-member,
redefined-builtin,
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-public-methods,
too-many-return-statements,
too-many-statements,
unnecessary-lambda-assignment, # TODO: remove this
unspecified-encoding, # TODO: remove this
unused-argument,
unused-wildcard-import,
wildcard-import,
wrong-import-order,
[mypy]
[mypy-*.*]
ignore_missing_imports = True