-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (84 loc) · 2.48 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
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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{name = "Frank Hoffmann", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
]
dependencies = []
description = 'directly import everything from where it is defined'
dynamic = ["version"]
keywords = []
license = "MIT"
name = "canonical-imports"
readme = "README.md"
requires-python = ">=3.8"
[project.scripts]
canonical-imports = "canonical_imports.__main__:main"
[project.urls]
Documentation = "https://github.com/unknown/canonical-imports#readme"
Issues = "https://github.com/unknown/canonical-imports/issues"
Source = "https://github.com/unknown/canonical-imports"
[tool.black]
target-version = ["py38"]
[tool.commitizen]
changelog_incremental = true
major_version_zero = true
tag_format = "v$major.$minor.$patch$prerelease"
update_changelog_on_bump = true
version_files = [
"inline_snapshot/__init__.py:version"
]
version_provider = "poetry"
[tool.coverage.paths]
canonical_imports = ["src/canonical_imports", "*/canonical-imports/src/canonical_imports"]
tests = ["tests", "*/canonical-imports/tests"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "assert False", "raise NotImplemented", "\\.\\.\\."]
[tool.coverage.run]
branch = true
data_file = "$TOP/.coverage"
omit = [
"src/canonical_imports/__about__.py"
]
parallel = true
source_pkgs = ["canonical_imports", "tests"]
[[tool.hatch.envs.all.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.cov]
dependencies = ["coverage[toml]>=6.5"]
detached = true
scripts.test = [
"- coverage erase",
"hatch run all:test-cov -- {args}",
"- coverage combine",
"coverage report"
]
[tool.hatch.envs.default]
dependencies = [
"coverage[toml]>=6.5",
"pytest"
]
[tool.hatch.envs.docs]
dependencies = [
"mkdocs>=1.4.2",
"mkdocs-material[imaging]>=8.5.10",
"mkdocstrings[python-legacy]>=0.19.0"
]
env-vars.TOP = "{root}"
scripts.serve = ["mkdocs serve {args}"]
scripts.test = "pytest {args:tests}"
scripts.test-cov = "coverage run -m pytest {args:tests}"
[tool.hatch.version]
path = "src/canonical_imports/__init__.py"