-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
75 lines (68 loc) · 1.22 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
[project]
name = "example-orchestrator"
version = "0.1.0"
requires-python = ">=3.12,<3.14"
dependencies = [
"deepdiff==8.6.2",
"orchestrator-core==4.7.1",
"pynetbox==7.4.1",
"rich==13.9.4",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"docker/netbox/configuration/**",
]
line-length = 120
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
exclude = [
"docker/netbox/configuration/**",
]
select = [
"F", # pyflakes
"I", # isort
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-third-party = ["pynso", "pydantic"]
known-first-party = [
"nwastdlib",
"oauth2_lib",
"pydantic_forms",
]
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
"ruff>=0.15.0",
]