|
| 1 | +[project] |
| 2 | +name = "zeroth" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "Efficiently get the index-0 element of an iterable." |
| 5 | +readme = "README.md" |
| 6 | +requires-python = ">=3.9" |
| 7 | +authors = [ |
| 8 | + { name = "Nathaniel Starkman", email = "nstarman@users.noreply.github.com" }, |
| 9 | +] |
| 10 | +classifiers = [ |
| 11 | + "Development Status :: 1 - Planning", |
| 12 | + "Intended Audience :: Developers", |
| 13 | + "Intended Audience :: Science/Research", |
| 14 | + "License :: OSI Approved :: MIT License", |
| 15 | + "Operating System :: OS Independent", |
| 16 | + "Programming Language :: Python :: 3 :: Only", |
| 17 | + "Programming Language :: Python :: 3", |
| 18 | + "Programming Language :: Python :: 3.9", |
| 19 | + "Programming Language :: Python :: 3.10", |
| 20 | + "Programming Language :: Python :: 3.11", |
| 21 | + "Programming Language :: Python :: 3.12", |
| 22 | + "Programming Language :: Python", |
| 23 | + "Topic :: Scientific/Engineering", |
| 24 | + "Typing :: Typed", |
| 25 | +] |
| 26 | +license.file = "LICENSE" |
| 27 | +dependencies = [] |
| 28 | + |
| 29 | +[project.urls] |
| 30 | + "Bug Tracker" = "https://github.com/GalacticDynamics/zeroth/issues" |
| 31 | + Changelog = "https://github.com/GalacticDynamics/zeroth/releases" |
| 32 | + Discussions = "https://github.com/GalacticDynamics/zeroth/discussions" |
| 33 | + Homepage = "https://github.com/GalacticDynamics/zeroth" |
| 34 | + |
| 35 | + |
1 | 36 | [build-system] |
2 | 37 | build-backend = "hatchling.build" |
3 | 38 | requires = ["hatch-vcs", "hatchling"] |
4 | 39 |
|
5 | 40 |
|
6 | | -[project] |
7 | | - authors = [ |
8 | | - { name = "Nathaniel Starkman", email = "nstarman@users.noreply.github.com" }, |
9 | | - ] |
10 | | - classifiers = [ |
11 | | - "Development Status :: 1 - Planning", |
12 | | - "Intended Audience :: Developers", |
13 | | - "Intended Audience :: Science/Research", |
14 | | - "License :: OSI Approved :: MIT License", |
15 | | - "Operating System :: OS Independent", |
16 | | - "Programming Language :: Python :: 3 :: Only", |
17 | | - "Programming Language :: Python :: 3", |
18 | | - "Programming Language :: Python :: 3.9", |
19 | | - "Programming Language :: Python :: 3.10", |
20 | | - "Programming Language :: Python :: 3.11", |
21 | | - "Programming Language :: Python :: 3.12", |
22 | | - "Programming Language :: Python", |
23 | | - "Topic :: Scientific/Engineering", |
24 | | - "Typing :: Typed", |
25 | | - ] |
26 | | - dependencies = [] |
27 | | - description = "Efficiently get the index-0 element of an iterable." |
28 | | - dynamic = ["version"] |
29 | | - license.file = "LICENSE" |
30 | | - name = "zeroth" |
31 | | - readme = "README.md" |
32 | | - requires-python = ">=3.9" |
33 | | - |
34 | | - [project.optional-dependencies] |
35 | | - dev = ["zeroth[docs,test]"] |
36 | | - docs = [ |
37 | | - "furo>=2023.08.17", |
38 | | - "myst_parser>=0.13", |
39 | | - "sphinx>=7.0", |
40 | | - "sphinx_autodoc_typehints", |
41 | | - "sphinx_copybutton", |
42 | | - ] |
43 | | - test = [ |
44 | | - "numpy", |
45 | | - "optional_dependencies >= 0.3", |
46 | | - "pytest >=6", |
47 | | - "pytest-cov >=3", |
48 | | - "pytest-github-actions-annotate-failures", |
49 | | - "sybil", |
50 | | - ] |
51 | | - |
52 | | - [project.urls] |
53 | | - "Bug Tracker" = "https://github.com/GalacticDynamics/zeroth/issues" |
54 | | - Changelog = "https://github.com/GalacticDynamics/zeroth/releases" |
55 | | - Discussions = "https://github.com/GalacticDynamics/zeroth/discussions" |
56 | | - Homepage = "https://github.com/GalacticDynamics/zeroth" |
| 41 | +[dependency-groups] |
| 42 | +dev = [ |
| 43 | + "ipykernel>=6.29.5", |
| 44 | + "cz-conventional-gitmoji>=0.6.1", |
| 45 | + { include-group = "build" }, |
| 46 | + { include-group = "docs" }, |
| 47 | + { include-group = "lint" }, |
| 48 | + { include-group = "nox" }, |
| 49 | + { include-group = "test" }, |
| 50 | +] |
| 51 | +build = [ |
| 52 | + "build>=1.3.0", |
| 53 | +] |
| 54 | +docs = [ |
| 55 | + "furo>=2023.08.17", |
| 56 | + "myst_parser>=0.13", |
| 57 | + "sphinx>=7.0", |
| 58 | + "sphinx-autodoc-typehints>=2.3.0", |
| 59 | + "sphinx-copybutton>=0.5.2", |
| 60 | +] |
| 61 | +lint = [ |
| 62 | + "pre-commit>=4.1.0", |
| 63 | + "pylint>=3.3.8", |
| 64 | +] |
| 65 | +nox = ["nox>=2024.10.9"] |
| 66 | +test = [ |
| 67 | + "numpy>=2.0.2", |
| 68 | + "optional_dependencies>=0.3", |
| 69 | + "pytest>=8.4.2", |
| 70 | + "pytest-cov>=6.2.1", |
| 71 | + "pytest-github-actions-annotate-failures>=0.3.0", |
| 72 | + "sybil[pytest]>=9.2.0", |
| 73 | +] |
57 | 74 |
|
58 | 75 |
|
59 | 76 | [tool.hatch] |
60 | | - version.source = "vcs" |
| 77 | + build.hooks.vcs.version-file = "src/zeroth/_version.py" |
| 78 | + version.source = "vcs" |
| 79 | + |
| 80 | + |
| 81 | +[tool.codespell] |
| 82 | +skip = "uv.lock" |
| 83 | + |
61 | 84 |
|
62 | | - [tool.hatch.envs.default] |
63 | | - features = ["test"] |
64 | | - scripts.test = "pytest {args}" |
| 85 | +[tool.commitizen] |
| 86 | + name = "cz_gitmoji" |
65 | 87 |
|
66 | 88 |
|
67 | 89 | [tool.pytest.ini_options] |
|
74 | 96 | ] |
75 | 97 | filterwarnings = ["error"] |
76 | 98 | log_cli_level = "INFO" |
77 | | - minversion = "6.0" |
78 | | - testpaths = ["tests/", "docs", "src/"] |
| 99 | + minversion = "8.3" |
| 100 | + testpaths = ["src/", "tests/", "README.md", "docs"] |
79 | 101 | xfail_strict = true |
80 | 102 |
|
81 | 103 |
|
|
0 commit comments