-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (74 loc) · 2.34 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "afasi"
version = "2022.11.28"
description = "Fuzz a language by mixing up only few words."
readme = "README.md"
license = {file = "LICENSE"}
authors = [{ name = "Stefan Hagen", email = "[email protected]" }]
maintainers = [{ name = "Stefan Hagen", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.9",
]
keywords = ["command-line", "developer-tools", "language-files", "patch"]
dependencies = [
"PyYAML >= 6.0.1",
"typer >= 0.9.0",
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["black", "coverage", "hypothesis", "mypy", "pytest", "pytest-cov", "pytest-flake8", "ruff"]
[project.urls]
Homepage = "https://git.sr.ht/~sthagen/afasi"
Bug-Tracker = "https://todo.sr.ht/~sthagen/afasi"
Documentation = "https://codes.dilettant.life/docs/afasi"
Source-Code = "https://git.sr.ht/~sthagen/afasi"
Test-Coverage = "https://codes.dilettant.life/coverage/afasi"
[project.scripts]
afasi = "afasi.cli:app"
[tool.setuptools.packages.find]
include = [ "afasi" ]
exclude = [ "test*" ]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = [ "py39", "py310", "py311", "py312" ]
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [ "pragma: no cover", "raise NotImplementedError", "if TYPE_CHECKING:", "@overload" ]
omit = [ "*/__main__.py" ]
[tool.mypy]
strict = true
implicit_reexport = true
[tool.pytest]
testpaths = "test"
filterwarnings = "error"
[tool.ruff]
line-length = 120
exclude = [ ".direnv", ".eggs", ".git", ".mypy_cache", ".ruff_cache", ".venv", "__pypackages__", "bin", "dist", "venv" ]
target-version = "py312"
[tool.ruff.lint]
select = [ "E", "F", "Q" ]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.lint.flake8-import-conventions.aliases]
altair = "alt"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
seaborn = "sns"
[tool.ruff.lint.mccabe]
max-complexity = 42
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [ "E402" ]