-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
78 lines (67 loc) · 1.63 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
[build-system]
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "relint"
authors = [
{ name = "Johannes Maron", email = "[email protected]" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["regex", "linter"]
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
requires-python = ">=3.8"
dependencies = [
"PyYAML",
"rich",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
]
regex = [
"regex"
]
[project.scripts]
relint = "relint.__main__:main"
[project.urls]
Project-URL = "https://github.com/codingjoe/relint"
Changelog = "https://github.com/codingjoe/relint/releases"
[tool.flit.module]
name = "relint"
[tool.setuptools_scm]
write_to = "relint/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov --tb=short -rxs"
testpaths = ["tests"]
[tool.coverage.run]
source = ["relint"]
[tool.coverage.report]
show_missing = true
[tool.isort]
atomic = true
line_length = 88
multi_line_output = 3
force_grid_wrap = 0
known_first_party = "relint, tests"
include_trailing_comma = true
use_parentheses = true
default_section = "THIRDPARTY"
combine_as_imports = true
[tool.pydocstyle]
add_ignore = "D1"