-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (38 loc) · 1.19 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
# https://packaging.python.org/en/latest/specifications/pyproject-toml/
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "gato-compiler"
license = {text = "EUPL-1.2"}
description = "Compiler for the Gato programming language"
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Compilers",
]
requires-python = ">=3.12"
dynamic = ["version"]
[project.urls]
Homepage = "https://gato-lang.dev/"
Repository = "https://github.com/gato-lang/gato.py"
[tool.hatch.envs.hatch-test]
extra-dependencies = [
"mypy>=1.12",
]
[tool.hatch.envs.hatch-test.scripts]
cov-combine = "coverage combine"
cov-report = "coverage report"
doctest = "pytest --doctest-modules gato_compiler"
run = ["typecheck", "tests", "doctest"]
run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
tests = "pytest{env:HATCH_TEST_ARGS:} {args}"
typecheck = "mypy gato_compiler"
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.12"]
[tool.hatch.version]
source = "vcs"
[tool.mypy]
strict = true