-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (91 loc) · 2.38 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
98
99
100
101
102
103
104
105
106
107
108
[project]
name = "lambda_calculus"
version = "3.1.0"
description = "Implementation of the Lambda calculus"
requires-python = ">=3.10"
keywords = []
classifiers = [
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Education",
"Topic :: Utilities",
"Typing :: Typed"
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[[project.authors]]
name = "Eric Niklas Wolf"
email = "[email protected]"
[project.urls]
Repository = "https://github.com/Deric-W/lambda_calculus"
Documentation = "http://lambda-calculus.readthedocs.io/"
Bugtracker = "https://github.com/Deric-W/lambda_calculus/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.envs.hatch-test]
installer = "pip"
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.10", "3.11", "3.12", "3.13"]
[tool.hatch.envs.lint]
dependencies = [
"mypy >= 1.0.0",
"pylint >= 2.12.2",
"flake8 >= 5.0.0",
"isort >= 5.10.1"
]
[tool.hatch.envs.lint.scripts]
lint = [
"- flake8 src/lambda_calculus",
"- pylint src/lambda_calculus"
]
typecheck = "mypy -p lambda_calculus"
release = [
"typecheck"
]
[tool.hatch.envs.docs]
dependencies = [
"sphinx ~= 5.2.0",
"sphinx-pyproject ~= 0.1.0",
"sphinx-rtd-theme ~= 1.0.0"
]
[tool.hatch.envs.docs.scripts]
build = "sphinx-build {args} docs docs/_build"
[tool.hatch.build.targets.sdist]
exclude = ["/.github"]
[tool.pytest.ini_options]
minversion = "6.0"
python_files = "test_*.py *_test.py __init__.py"
[tool.mypy]
disallow_any_unimported = true
disallow_any_generics = true
disallow_untyped_defs = true
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
[tool.pylint]
max-line-length = 100
[tool.coverage.run]
source_pkgs = ["lambda_calculus"]
branch = true
parallel = true
[tool.sphinx-pyproject]
project = "lambda_calculus"
copyright = "2022 Eric Wolf"
html_theme = "sphinx_rtd_theme"
extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.autodoc",
"sphinx.ext.viewcode"
]
autodoc_typehints_format = "short"
autodoc_warningiserror = true
[tool.sphinx-pyproject.autodoc_default_options]
show-inheritance = true
member-order = "bysource"