-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
55 lines (45 loc) · 1.25 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
[tool.isort]
# @see https://github.com/timothycrosley/isort/issues/694#issuecomment-581246882
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
# @see https://black.readthedocs.io/en/stable/pyproject_toml.html#configuration-format
[tool.black]
line-length = 120
[tool.pylint.master]
extension-pkg-whitelist = [
"win32api"
]
[tool.pylint.basic]
docstring-min-length = "7"
[tool.pylint.format]
max-line-length = "120"
[tool.pylint.messages_control]
# bad-continuation: @see https://github.com/PyCQA/pylint/pull/3571
disable = ''',
bad-continuation,
'''
[tool.pylint.options]
# Since this rule against single responsibility principle.
# @see https://stackoverflow.com/questions/28722314/why-does-pylint-want-2-public-methods-per-class/40258006#40258006
min-public-methods = "1"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
log_format = "%(asctime)s %(process)d %(levelname)s %(name)s:%(filename)s:%(lineno)d %(message)s"
[tool.coverage.run]
source = ["asyncffmpeg"]
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = [
"ffmpeg",
"invoke",
"setuptools",
"win32api",
"win32con"
]
ignore_missing_imports = true