-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (78 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
91 lines (78 loc) · 1.96 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
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "subsequence"
dynamic = ["version"]
description = "A generative MIDI sequencer"
readme = "README.md"
authors = [{ name = "Simon Holliday", email = "simon.holliday@protonmail.com" }]
license = { text = "AGPL-3.0-or-later" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
]
dependencies = [
"mido",
"python-rtmidi",
"python-osc",
"websockets",
"pymididefs @ git+https://github.com/simonholliday/PyMidiDefs.git",
]
[project.urls]
Repository = "https://github.com/simonholliday/subsequence"
Issues = "https://github.com/simonholliday/subsequence/issues"
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
]
docs = [
"pdoc>=14.0.0",
]
dev = [
"mypy>=1.8.0",
"ruff>=0.4.0",
]
link = [
"aalink>=0.1.1",
]
[project.scripts]
subsequence = "subsequence.__main__:main"
[tool.setuptools.packages.find]
include = ["subsequence*"]
[tool.setuptools.package-data]
subsequence = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"] # line length handled by formatter
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
show_error_codes = true
show_error_context = true
pretty = true
[[tool.mypy.overrides]]
module = "mido.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rtmidi.*"
ignore_missing_imports = true
[tool.setuptools_scm]
# Enable setuptools_scm to derive version from git tags