-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
61 lines (55 loc) · 1.56 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
61
[project]
name = "beets-check"
version = "0.15.0"
description = "beets plugin verifying file integrity with checksums"
authors = [{ name = "Thomas Scholtes", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
repository = "http://www.github.com/geigerzaehler/beets-check"
classifiers = [
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Players :: MP3",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Environment :: Web Environment",
"Programming Language :: Python :: 3",
]
packages = [{ include = "beetsplug" }]
dependencies = ["beets >=1.6.1, <3", "mediafile ~=0.12.0"]
requires-python = ">=3.9"
[tool.uv]
dev-dependencies = ["pytest ~=8.0.0", "ruff >=0.5.1, <6"]
[tool.ruff]
target-version = "py39"
unsafe-fixes = true
preview = true
[tool.ruff.lint]
extend-select = [
"I", # Sort imports
"C", # Pyflakes conventions
# "PTH", # Use pathlib instead of os
"PIE", # Misc. lints
"UP", # Enforce modern Python syntax
"FURB", # Also enforce more modern Python syntax
"PT", # Pytest style
"B", # Bugbear, avoid common sources of bugs
"SIM", # Simplify
"T20", # Warn about `print()`
"RUF",
"C4", # List comprehension
]
ignore = [
# Pyright checks for unused imports and does it better.
"F401",
# ternary can be less readable
"SIM108",
# Ignore complexity
"C901",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["beetsplug/*.py"]
[tool.hatch.build.targets.wheel]
include = ["beetsplug/*.py"]