-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
110 lines (95 loc) · 1.91 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
109
110
[build-system]
build-backend = "flit_core.buildapi"
requires = [
"flit_core >=2,<4",
]
[project]
authors = [
{ name = "Kieran Ryan" },
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
]
description = "A sample Python package."
dynamic = [
"version",
]
name = "pysamplelib"
readme = "README.md"
[project.urls]
Documentation = "https://kieran-ryan.github.io/python-package-template/"
Source = "https://github.com/kieran-ryan/python-package-template"
Tracker = "https://github.com/kieran-ryan/python-package-template/issues"
[tool.coverage.html]
directory = "docs/coverage"
[tool.coverage.report]
exclude_lines = [
"if typing.TYPE_CHECKING:",
]
fail_under = 90.0
show_missing = true
[tool.coverage.run]
branch = true
omit = [
"*/tests/*",
"*/venv/*",
]
[tool.coverage.xml]
output = "docs/coverage/coverage.xml"
[tool.flit.module]
name = "pysamplelib"
[tool.isort]
profile = "black"
src_paths = "pysamplelib"
[tool.mypy]
exclude = "__init__.py|setup.py|docs|tests|venv"
files = "."
mypy_path = "pysamplelib"
[tool.pylint]
ignore = [
"docs",
"tests",
"venv",
]
recursive = true
[tool.pytest.ini_options]
addopts = "--doctest-modules -rA --verbose"
testpaths = [
"pysamplelib",
"tests",
]
[tool.radon]
exclude = "tests/*,venv/*"
show_complexity = true
show_mi = true
total_average = true
[tool.ruff.lint]
ignore = [
"ANN",
"ARG",
"COM812",
"D203",
"D213",
"DTZ005",
"G004",
"INP001",
"ISC001",
"S101",
"T201",
]
select = [
"ALL",
"I002",
]
[tool.ruff.lint.isort]
required-imports = [
"from __future__ import annotations",
]
[tool.ruff.lint.pydocstyle]
convention = "google"