|
1 | | -[tool.poetry] |
2 | | -authors = [ "Tobias Genannt <[email protected]>"] |
| 1 | +[project] |
| 2 | +name = "netbox-initializers" |
| 3 | +authors = [{ name = "Tobias Genannt", email = "[email protected]" }] |
3 | 4 | classifiers = [ |
4 | 5 | "Framework :: Django", |
5 | 6 | "Environment :: Plugins", |
6 | 7 | "Topic :: System :: Networking", |
7 | | - "Topic :: System :: Systems Administration" |
| 8 | + "Topic :: System :: Systems Administration", |
8 | 9 | ] |
9 | 10 | description = "Load initial data into Netbox" |
10 | | -license = "Apache-2.0" |
11 | | -name = "netbox-initializers" |
12 | 11 | readme = "README.md" |
13 | 12 | repository = "https://github.com/tobiasge/netbox-initializers" |
14 | | -version = "4.0.0" |
| 13 | +license = "Apache-2.0" |
| 14 | +dynamic = ["version"] |
15 | 15 |
|
16 | | -[tool.poetry.dependencies] |
17 | | -python = "^3.8" |
18 | | -"ruamel.yaml" = "0.18.6" |
| 16 | +requires-python = ">=3.10" |
| 17 | +dependencies = ["ruamel-yaml>=0.18.6"] |
19 | 18 |
|
20 | 19 | [build-system] |
21 | | -build-backend = "poetry.core.masonry.api" |
22 | | -requires = ["poetry-core"] |
| 20 | +requires = ["hatchling"] |
| 21 | +build-backend = "hatchling.build" |
| 22 | + |
23 | 23 |
|
24 | | -[tool.black] |
25 | | -line_length = 100 |
26 | | -target-version = ['py310'] |
| 24 | +[tool.hatch.version] |
| 25 | +path = "src/netbox_initializers/version.py" |
27 | 26 |
|
28 | | -[tool.isort] |
29 | | -line_length = 100 |
30 | | -multi_line_output = 3 |
31 | | -profile = "black" |
| 27 | +[tool.uv] |
| 28 | +dev-dependencies = ["ruff==0.6.3"] |
| 29 | + |
| 30 | +[tool.ruff] |
| 31 | +line-length = 100 |
| 32 | +target-version = "py311" |
| 33 | + |
| 34 | +[tool.ruff.lint] |
| 35 | +extend-select = ["I", "PL", "W191", "W291", "W292", "W293"] |
| 36 | +ignore = ["PLR0912", "PLR0915"] |
| 37 | + |
| 38 | +[tool.ruff.lint.isort] |
| 39 | +section-order = [ |
| 40 | + "future", |
| 41 | + "standard-library", |
| 42 | + "third-party", |
| 43 | + "first-party", |
| 44 | + "local-folder", |
| 45 | +] |
32 | 46 |
|
33 | | -[tool.pylint.format] |
34 | | -max-line-length = "100" |
| 47 | +[tool.ruff.format] |
| 48 | +docstring-code-format = true |
| 49 | +docstring-code-line-length = "dynamic" |
0 commit comments