-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
74 lines (69 loc) · 1.14 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
[project]
name = "netbox-kea"
version = "1.0.1"
description = ""
readme = "README.md"
# NetBox 4.10 requires Python 3.10
requires-python = ">=3.10"
authors = [
{name = "Devon Mar", email = "[email protected]"},
]
dependencies = [
"requests>=2.0.0,<3.0.0",
"netaddr>=0.8,<2.0.0",
]
[dependency-groups]
dev = [
"types-requests>=2.0.0,<3.0.0",
"mypy>=1.14.0,<1.15.0",
"pytest>=8.0.0,<9.0.0",
"pytest-playwright>=0.6.0,<0.7.0",
"pynetbox>=7.3.0,<7.4.0",
"django-stubs[compatible-mypy]>=5.0.0,<6.0.0",
# Doesn't work with ruff-action
# "ruff>=0.8.0,<0.9.0",
"ruff>=0.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"netbox_kea",
]
[tool.ruff]
exclude = [
"netbox_kea/migrations",
]
[tool.ruff.lint]
select = [
"C4",
"E",
"EXE",
"F",
"I",
"ISC",
"PERF",
"PIE",
"PYI",
"UP",
"W",
]
ignore = [
"E501",
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]