forked from jkwill87/mnamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (104 loc) · 2.85 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (104 loc) · 2.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "mnamer"
description = "A command-line utility for organizing media files."
authors = [{ name = "Jessy Williams", email = "jessy@jessywilliams.com" }]
maintainers = [{ name = "Jessy Williams", email = "jessy@jessywilliams.com" }]
license = { file = "LICENSE.txt" }
requires-python = ">=3.12"
dynamic = ["version"]
scripts = { mnamer = "mnamer.__main__:main" }
urls = { repository = "https://github.com/jkwill87/mnamer" }
readme = "README.md"
dependencies = [
"appdirs~=1.4.4",
"babelfish~=0.6.1",
"guessit~=3.8.0",
"requests>=2.33.1,<2.35.0",
"requests-cache~=1.3.2",
"setuptools-scm>=10.0.0",
"teletype~=1.3.4",
]
[tool.setuptools]
packages = ["mnamer"]
[tool.setuptools.package-data]
"*" = ["LICENSE.txt", "README.md", "py.typed"]
[build-system]
requires = ["setuptools >= 61.0.0", "setuptools_scm[toml] >= 6.2", "wheel"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"appdirs-stubs~=0.2.0",
"build>=1.2.0",
"codecov~=2.1.13",
"mypy>=2.0",
"pylint>=4.0",
"pytest-cov>=7.0",
"pytest-mock>=3.15.1",
"pytest-rerunfailures>=16.0",
"pytest>=9.0",
"ruff~=0.15.12",
"setuptools>=80.0.0",
"twine>=6.0.0",
"types-requests~=2.33.0",
"wheel>=0.45.0",
]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"C901", # too complex
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pyright]
pythonVersion = "3.12"
include = ["mnamer"]
exclude = ["playground.py", ".venv", "venv", "build", "dist"]
venvPath = "."
venv = ".venv"
reportAny = false
reportExplicitAny = false
reportGeneralTypeIssues = "information"
reportIgnoreCommentWithoutRule = false
reportImplicitStringConcatenation = false
reportMissingParameterType = false
reportMissingTypeStubs = false
reportPrivateLocalImportUsage = false
reportPrivateUsage = false
reportUnannotatedClassAttribute = false
reportUnknownArgumentType = false
reportUnknownMemberType = false
reportUnknownParameterType = false
reportUnknownVariableType = false
reportUnusedCallResult = false
reportUnusedParameter = false
[tool.ruff.lint.isort]
known-first-party = ["mnamer"]
combine-as-imports = true
[tool.pylint.messages_control]
max-line-length = 88
disable = ["C0103", "C0114", "C0116", "C0209", "E0401", "R0801"]
[tool.mypy]
incremental = false
python_version = "3.12"
[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}"
'''