-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (62 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
76 lines (62 loc) · 1.97 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
[project]
name = "python_repository_simple"
version = "0.0.0"
description = "python_repository_simple"
authors = [
{ name = "yamap55", email = "1785817+yamap55@users.noreply.github.com" },
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.14"
dependencies = []
[dependency-groups]
dev = ["ipykernel>=7.2.0", "pytest>=9.0.3", "pytest-cov>=7.1.0"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/python_repository_simple"]
[tool.uv]
managed = true
[tool.pytest.ini_options]
junit_family = "xunit1"
addopts = ["--verbose", "--cov", "--showlocals", "--durations=5"]
[tool.coverage.run]
omit = ["*/tests/*", "*/site-packages/*"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "D", "UP", "B", "Q"]
# Rules to ignore:
# D200 One-line docstring should fit on one line with quotes
# D203 1 blank line required before class docstring
# D212 Multi-line docstring summary should start at the first line
# D400 First line should end with a period
# D401 First line should be in imperative mood
# D403 First word of the first line should be properly capitalized
# D413 Missing blank line after last section
# D415 First line should end with a period, question mark, or exclamation point
ignore = ["D200", "D203", "D212", "D400", "D401", "D403", "D413", "D415"]
exclude = ["__init__.py", "work", ".venv", ".git"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
multiline-quotes = "double"
docstring-quotes = "double"
[tool.pyright]
reportMissingImports = true
reportMissingTypeStubs = false
reportImportCycles = true
reportUnusedImport = true
reportUnusedClass = true
reportUnusedFunction = true
reportUnusedVariable = true
reportDuplicateImport = true
pythonVersion = "3.14"
pythonPlatform = "Linux"
ignore = ["./work"]