-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
60 lines (52 loc) · 1.45 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
[tool.poetry]
name = "ass_parser"
version = "1.0"
description = "Parse ASS subtitle format."
authors = ["Marcin Kurczewski <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/bubblesub/ass_parser"
classifiers = [
"Environment :: Other Environment",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Topic :: Text Processing",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "ass_parser" }
]
include = ["ass_parser/py.typed"]
[tool.poetry.dependencies]
python = ">=3.9"
[tool.poetry.dev-dependencies]
pre-commit = "^2.16.0"
pytest = "^6.2.5"
black = "^21.12b0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
[tool.mypy]
strict = true
disallow_untyped_decorators = false
python_version = "3.9"
[tool.pylint.master]
jobs = 0
[tool.pylint.message_control]
disable = [
"import-error", # for pre-commit, which cannot install external modules
"no-member", # leave type checking to mypy
"signature-differs", # leave type checking to mypy
"duplicate-code",
"too-few-public-methods",
"too-many-instance-attributes",
]