copapy/pyproject.toml

82 lines
1.5 KiB
TOML
Raw Normal View History

2025-05-25 21:23:02 +00:00
[project]
name = "copapy"
2025-12-27 15:30:46 +00:00
version = "0.0.3"
2025-05-25 21:23:02 +00:00
authors = [
{ name="Nicolas Kruse", email="nicolas.kruse@nonan.net" },
]
description = "Copy-Patch Compiler"
readme = "README.md"
requires-python = ">=3.10"
2025-12-08 14:54:05 +00:00
license = "MIT"
2025-05-25 21:23:02 +00:00
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
]
[project.urls]
Homepage = "https://github.com/nonannet/copapy"
Issues = "https://github.com/nonannet/copapy/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
2025-10-04 20:57:45 +00:00
copapy = ["obj/*.o", "py.typed"]
2025-10-03 20:49:07 +00:00
2025-05-25 21:23:02 +00:00
[project.optional-dependencies]
dev = [
"ruff",
2025-05-25 21:23:02 +00:00
"mypy",
2025-12-14 21:04:37 +00:00
"pytest",
"pelfy>=1.0.7"
2025-05-25 21:23:02 +00:00
]
2025-12-06 17:11:42 +00:00
doc_build = [
"sphinx",
"pydata_sphinx_theme",
"sphinx-autodoc-typehints",
2025-12-14 21:04:37 +00:00
"myst-parser",
"pelfy>=1.0.7"
2025-12-06 17:11:42 +00:00
]
2025-05-25 21:23:02 +00:00
[tool.mypy]
2025-10-23 15:23:47 +00:00
files = ["src", "tools", "stencils"]
2025-05-25 21:23:02 +00:00
strict = true
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
pythonpath = ["src"]
2025-11-09 21:51:17 +00:00
markers = [
"runner: requires to have an compiled runner executable"]
[tool.ruff]
lint.ignore = ["E501", "E226", "E265"]
# Equivalent to Flake8's "exclude"
exclude = [
".git",
"__pycache__",
"build",
"dist",
".conda",
".venv",
]
# "D" for dockstrings
lint.select = ["C", "E", "F", "W"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "E712"]