-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (61 loc) · 1.33 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
[tool.poetry]
name = "nos-config-collector"
version = "1.0.2"
description = ""
authors = ["Leo Kirchner <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
fastapi = ">=0.95.1"
uvicorn = ">=0.22.0"
gitpython = ">=3.1.31"
jinja2 = ">=3.1.2"
# Until netconan gets a new release
netconan = { git = "https://github.com/intentionet/netconan", branch = "master" }
pydantic = {extras = ["dotenv"], version = "^1.10.7"}
requests = "^2.30.0"
netutils = "^1.4.1"
[tool.poetry.group.dev.dependencies]
commitizen = ">=3.2.2"
pytest = ">=7.3.1"
httpx = ">=0.24.0"
ruff = ">=0.0.267"
black = ">=23.1.0"
pytest-mock = "^3.10.0"
mypy = "^1.3.0"
requests-mock = "^1.10.0"
types-requests = "^2.31.0.0"
coverage = "^7.2.6"
[tool.ruff]
select = [
"E",
"F",
"S", # bandit
"PL", # pylint
"I", # isort
"D", # pydocstyle
]
ignore = [
"E501", # handled by Black
"D212",
"D203",
"S101"
]
# Same as Black.
line-length = 88
target-version = "py37"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_type = "semver"
version_provider = "poetry"
update_changelog_on_bump = true
[tool.black]
line-length = 120
target-version = ['py311']
[tool.mypy]
strict = true
plugins = ["pydantic.mypy"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"