-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (84 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
97 lines (84 loc) · 2.49 KB
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
[build-system]
requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pyflp"
authors = [{ name = "demberto", email = "[email protected]" }]
description = "FL Studio project file parser"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Multimedia",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
license = { text = "GPL-3.0" }
dependencies = [
"f-enum>=0.2.0;python_version<='3.10'",
"construct-typing>=0.5.6",
"sortedcontainers>=2.4.0",
"typing_extensions>=4.6.1",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"coverage >=7.2.6",
"pre-commit >= 3.3.2",
"pytest >=7.3.1",
"tox >=4.5.1",
]
# for docs dependencies see docs/requirements.txt
[project.urls]
Source = "https://github.com/demberto/PyFLP"
Changelog = "https://github.com/demberto/PyFLP/blob/master/CHANGELOG.md"
Documentation = "https://pyflp.rtfd.io"
"Bug Tracker" = "https://github.com/demberto/PyFLP/issues"
[tool.black]
line-length = 100
[tool.coverage.run]
branch = true
parallel = true
omit = ["main.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover", # Have to re-enable the standard pragma
"def __repr__",
"\\.\\.\\.", # Ellipsis operator used in protocols
"if owner is None:", # Descriptor __get__() checks
"@(abc\\.)?abstractmethod", # "@abc.abstractmethod" or "@abstractmethod"
]
ignore_errors = true
[tool.isort]
profile = "black"
line-length = 100
[tool.mypy]
python_version = "3.8"
check_untyped_defs = true
enable_incomplete_feature = ["Unpack"]
ignore_missing_imports = true
warn_no_return = false
[tool.pyright]
reportPrivateUsage = false
reportMissingTypeStubs = false
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = "tests"
[tool.ruff]
target-version = "py38"
line-length = 100
[tool.setuptools]
packages = ["pyflp"]
[tool.setuptools_scm]
write_to = "pyflp/_version.py"