-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
78 lines (66 loc) · 1.83 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bin2coe"
authors = [
{ name = "Anish Athalye", email = "[email protected]" },
]
description = "A tool to convert binary files to COE files"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
]
keywords = ["xilinx", "coe", "bram"]
dynamic = ["version"]
[project.scripts]
bin2coe = "bin2coe.cli:main"
[project.urls]
homepage = "https://github.com/anishathalye/bin2coe"
repository = "https://github.com/anishathalye/bin2coe.git"
issues = "https://github.com/anishathalye/bin2coe/issues"
[tool.hatch.version]
path = "src/bin2coe/__init__.py"
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
# the default configuration for the hatch-test environment
# (https://hatch.pypa.io/latest/config/internal/testing/#dependencies) uses a
# version of coverage[toml] that is incompatible with Python 3.7, so we override
# the test dependencies for Python 3.7 here
[tool.hatch.envs.hatch-test.overrides]
name."^py3\\.7$".set-dependencies = [
"coverage-enable-subprocess",
"coverage[toml]",
"pytest",
"pytest-mock",
"pytest-randomly",
"pytest-rerunfailures",
"pytest-xdist[psutil]",
]
[tool.coverage.run]
omit = [
"*/tests/*",
]
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --strict --install-types --non-interactive {args:src tests}"
[tool.hatch.envs.coverage]
detached = true
dependencies = [
"coverage",
]
[tool.hatch.envs.coverage.scripts]
html = "coverage html"
xml = "coverage xml"
[tool.ruff.lint]
ignore = [
"FA100",
]