-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (83 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
93 lines (83 loc) · 1.62 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
[project]
name = "project-name" # TODO
version = "0.1.0"
description = "A short description of your package."
authors = [{ name = "Your Name", email = "your.email@example.com" }] # TODO
requires-python = ">=3.10,<4"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[dependency-groups]
test = ["pytest"]
dev = [
"mypy",
"pylint",
"ruff",
"yamllint",
]
[tool.uv]
default-groups = "all"
[build-system]
requires = ["uv_build>=0.10.3,<0.11.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = ""
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pep8-naming
"N",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-unused-arguments
"ARG",
# Pylint
"PL",
# Perflint
"PERF",
# Ruff-specific rules
"RUF",
# pandas-vet
"PD",
# flynt
"FLY",
# flake8-boolean-trap
"FBT",
# flake8-use-pathlib
"PTH",
# flake8-comprehensions
"C4",
# flake8-bandit
"S",
# flake8-raise
"RSE",
# flake8-datetimez
"DTZ",
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
line-ending = "lf"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.basic]
no-docstring-rgx = "^__|^test_"
[tool.pylint.miscellaneous]
notes = ["FIXME", "XXX"]