-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (79 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (79 loc) · 1.85 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
[project]
name = "midi2tracker"
version = "2.0.0"
description = "MIDIToTracker - Convert MIDI files into FastTracker 2 tracker modules"
readme = "README.md"
requires-python = ">=3.13,<3.14"
authors = [{ name = "Jakim" }]
dependencies = [
"mido>=1.3",
"numpy>=2.1",
"pydantic>=2.13.4",
"pyyaml>=6.0",
"trackmod",
]
[project.scripts]
midi2tracker = "midi2tracker.cli:main"
[dependency-groups]
dev = [
"black==26.5.1",
"isort==8.0.1",
"mypy==2.1.0",
"pre-commit==4.6.0",
"pylint==4.0.6",
"pylint-pydantic==0.4.1",
"pytest==9.1.1",
"pytest-cov==7.1.0",
"pytest-xdist==3.8.0",
"types-pyyaml>=6.0",
]
[tool.uv.sources]
trackmod = { path = "trackmod", editable = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/midi2tracker"]
[tool.black]
line-length = 120
target-version = ["py313"]
extend-exclude = "^/trackmod/"
[tool.isort]
profile = "black"
line_length = 120
known_first_party = ["midi2tracker"]
known_third_party = ["trackmod"]
skip_glob = ["trackmod/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--import-mode=importlib"
[tool.coverage.run]
source = ["src/midi2tracker"]
[tool.coverage.report]
show_missing = true
fail_under = 90
[tool.mypy]
files = ["src/midi2tracker"]
exclude = ["tests"]
python_version = "3.13"
strict = true
plugins = ["pydantic.mypy"]
warn_unused_ignores = true
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pylint.main]
load-plugins = ["pylint_pydantic"]
fail-under = 9.9
[tool.pylint.design]
max-args = 6
[tool.pylint."messages control"]
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"line-too-long",
"too-few-public-methods",
]