forked from bubblesub/bubblesub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (70 loc) · 1.67 KB
/
pyproject.toml
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
[tool.black]
line-length = 79
[tool.isort]
known_third_party = ["PIL", "PyQt5", "ass_tag_parser", "docstring_parser", "enchant", "ffms2", "lazy_import", "mpv", "numpy", "parsimonious", "pluginbase", "pyqtcolordialog", "pytest", "quamash", "regex", "setuptools", "sortedcontainers", "speech_recognition", "spellchecker", "yaml"]
known_library = ["dataclasses"]
profile = "black"
line_length = 79
[tool.pylint.master]
jobs = 0
[tool.pylint.basic]
good-names = [
"ex","_","w","h","i","j","x","y","x1","x2","y1","y2",
"classproperty",
"headerData",
"columnCount",
"rowCount",
"keyPressEvent",
"inputMethodEvent",
"focusInEvent",
"mousePressEvent",
"mouseMoveEvent",
"mouseReleaseEvent",
"resizeEvent",
"paintEvent",
"wheelEvent",
"changeEvent",
"closeEvent",
"highlightBlock",
"keyboardSearch",
"setData",
"initializeGL",
"paintGL",
"sizeHint",
"showMessage",
"eventFilter"
]
[tool.pylint.format]
max-line-length = 79
[tool.pylint.messages_control]
reports = false
disable = [
"import-error",
"missing-docstring",
"unused-argument",
"duplicate-code",
"too-many-return-statements",
"too-many-arguments",
"too-many-locals",
"too-many-instance-attributes",
"too-many-public-methods",
"too-few-public-methods",
"no-self-use",
]
[tool.pylint.typecheck]
ignored-modules = [
"PyQt5.QtGui",
"PyQt5.QtCore",
"PyQt5.QtWidgets",
"numpy",
]
extension-pkg-whitelist = [
"mpv",
"PyQt5.QtOpenGL"
]
[tool.pylint.miscellaneous]
notes = ["FIXME", "TODO"]
[tool.pytest.ini_options]
markers = [
"gui: tests that need qt (deselect with '-m \"not gui\"')",
]