Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (91 loc) · 2.14 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (91 loc) · 2.14 KB
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
[build-system]
build-backend = "flit_scm:buildapi"
requires = [ "flit-core>=3.12", "flit-scm", "wheel" ]
[project]
name = "relint"
readme = "README.md"
keywords = [ "linter", "regex" ]
license = { file = "LICENSE" }
requires-python = ">=3.14"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
dynamic = [ "description", "version" ]
dependencies = [
"pyyaml",
"rich",
]
[[project.authors]]
name = "Johannes Maron"
email = "johannes@maron.family"
[project.optional-dependencies]
regex = [ "regex" ]
[project.urls]
Changelog = "https://github.com/codingjoe/relint/releases"
Project-URL = "https://github.com/codingjoe/relint"
[project.scripts]
relint = "relint.__main__:main"
[dependency-groups]
dev = [
{ include-group = "test" },
]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
]
[tool.setuptools_scm]
write_to = "relint/_version.py"
[tool.flit]
[tool.flit.module]
name = "relint"
[tool.ruff]
src = [ "relint", "tests" ]
[tool.ruff.lint]
extend-select = [
"C90",
"D",
"D213",
"DJ",
"E",
"G",
"N",
"PERF",
"PT",
"PTH",
"RET",
"S",
"SIM",
"SLOT",
"T20",
"TRY",
"UP",
"W",
]
ignore = [ "D1", "D203", "D212", "E501", "RUF01" ]
per-file-ignores."tests/**" = [ "DJ006", "DJ007", "DJ008", "PLR2004", "S101", "S105", "S106", "S311", "S603", "S607" ]
isort.combine-as-imports = true
isort.force-wrap-aliases = true
isort.section-order = [ "future", "standard-library", "third-party", "first-party", "local-folder" ]
isort.split-on-trailing-comma = true
pydocstyle.convention = "pep257"
[tool.pytest]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [ "tests" ]
addopts = "--cov --tb=short -rxs"
[tool.coverage]
[tool.coverage.run]
source = [ "relint" ]
[tool.coverage.report]
show_missing = true