-
Notifications
You must be signed in to change notification settings - Fork 69
/
pyproject.toml
64 lines (52 loc) · 1.65 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
62
63
64
[project]
name = "mnamer"
description = "A command-line utility for organizing media files."
authors = [{ name = "Jessy Williams", email = "[email protected]" }]
maintainers = [{ name = "Jessy Williams", email = "[email protected]" }]
license = { file = "LICENSE.txt" }
requires-python = ">=3.10"
dynamic = ["version", "dependencies", "optional-dependencies"]
scripts = { mnamer = "mnamer.__main__:main" }
urls = { repository = "https://github.com/jkwill87/mnamer" }
readme = "README.md"
[tool.setuptools]
packages = ["mnamer"]
[tool.setuptools.package-data]
"*" = ["LICENSE.txt", "README.md", "py.typed"]
[tool.setuptools.dynamic]
dependencies = { file = "requirements.txt" }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements-dev.txt" }
[build-system]
requires = ["setuptools >= 61.0.0", "setuptools_scm[toml] >= 6.2", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target-version = ["py310"]
[tool.pyright]
reportGeneralTypeIssues = "information"
pythonVersion = "3.10"
include = ["mnamer"]
exclude = ["playground.py", "venv"]
venv = ["venv"]
[tool.isort]
profile = "black"
py_version = 38
line_length = 88
known_first_party = "mnamer"
combine_star = true
combine_straight_imports = false
overwrite_in_place = true
[tool.pylint.messages_control]
max-line-length = 88
disable = ["C0103", "C0114", "C0116", "C0209", "E0401", "R0801"]
[tool.mypy]
incremental = false
python_version = "3.10"
[tool.setuptools_scm]
local_scheme = "dirty-tag"
write_to = "mnamer/__version__.py"
write_to_template = '''# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = "{version}"
'''