-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (92 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
99 lines (92 loc) · 1.63 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
99
[project]
name = "python-boilerplate"
version = "0.1.0"
description = "Python boilerplate"
requires-python = ">=3.12"
license = { file = "LICENSE" }
authors = [
{ name = "Samuel MARLHENS", email = "samuel.marlhens@proton.me" },
]
readme = { file = "README.md", content-type = "text/markdown" }
dependencies = [
"aiohttp>=3.10.5",
"dacite>=1.8.1",
"dataclasses-json>=0.6.7",
"eth-account>=0.13.4",
"inflection>=0.5.1",
"requests>=2.32.3",
]
[project.urls]
homepage = "https://github.com/smarlhens/python-boilerplate#readme"
repository = "https://github.com/smarlhens/python-boilerplate"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"mypy>=1.11.2",
"bandit>=1.7.9",
"docformatter>=1.7.5",
"ruff>=0.6.2",
]
[tool.pytest.ini_options]
addopts = "-vvv"
testpaths = "tests"
[tool.ruff]
extend-exclude = [
"__pycache__",
"build",
"dist",
]
target-version = "py312"
line-length = 90
src = ["src", "tests"]
[tool.ruff.lint]
extend-select = [
"C4",
"D200",
"D201",
"D204",
"D205",
"D206",
"D210",
"D211",
"D213",
"D300",
"D400",
"D402",
"D403",
"D404",
"D419",
"E",
"F",
"G010",
"I001",
"INP001",
"N805",
"PERF101",
"PERF102",
"PERF401",
"PERF402",
"PGH004",
"PGH005",
"PIE794",
"PIE796",
"PIE807",
"PIE810",
"RET502",
"RET503",
"RET504",
"RET505",
"RUF015",
"RUF100",
"S101",
"T20",
"UP",
"W",
]
[tool.mypy]
files = ["src", "tests"]
strict = "true"