-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
62 lines (50 loc) · 1.15 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pyproject-dependencies"
dependencies = [
"build",
"packaging",
"tomli ; python_version<'3.11'",
"typing_extensions ; python_version<'3.8'",
]
requires-python = ">=3.7"
readme = "README.md"
authors = [
{name = "Stéphane Bidoul", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
]
dynamic = ["version"]
scripts = {pyproject-dependencies = "pyproject_dependencies.__main__:main"}
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "coverage[toml]", "mypy"]
[project.urls]
Homepage = "https://github.com/sbidoul/pyproject-dependencies"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build]
exclude = [
"/.github",
]
# mypy
[tool.mypy]
strict = true
show_error_codes = true
# ruff
[tool.ruff]
fix = true
select = [
"E", "F", "W", "C90", "B", "I", "UP", "RUF", "TCH"
]
target-version = "py37"
ignore = ["C901"]
[tool.ruff.isort]
known-first-party = ["pyproject_dependencies"]
# coverage
[tool.coverage.run]
branch = true
parallel = true