This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (88 loc) · 2.08 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.poetry]
name = "stackit-core"
version = "0.0.1a"
authors = [
"STACKIT Developer Tools <[email protected]>",
]
description = "Core functionality for the STACKIT SDK for Python"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
packages = [
{ include = "stackit", from="src" }
]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
pyjwt = "^2.9.0"
pydantic = "^2.9.2"
urllib3 = "^2.2.3"
cryptography = "^43.0.1"
requests = "^2.32.3"
[tool.poetry.group.dev.dependencies]
black = "24.8.0"
pytest = "^8.3.3"
flake8 = "^5.0.3"
flake8-black = "^0.3.6"
flake8-pyproject = "^1.2.3"
flake8-quotes = "^3.4.0"
flake8-bandit = "^4.1.1"
flake8-bugbear = "^23.1.14"
flake8-eradicate = "^1.5.0"
flake8-eol = "^0.0.8"
autoimport = "^1.6.1"
isort = "^5.13.2"
[project.urls]
Homepage = "https://github.com/stackitcloud/stackit-sdk-python-core"
Issues = "https://github.com/stackitcloud/stackit-sdk-python-core/issues"
[build-system]
requires = ["setuptools", "poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
testpaths = [
"tests"
]
[tool.black]
line-length = 120
exclude = """
/(
.eggs
| .git
| .hg
| .mypy_cache
| .nox
| .pants.d
| .tox
| .venv
| _build
| buck-out
| build
| dist
| node_modules
| venv
)/
"""
[tool.isort]
profile = 'black'
[tool.flake8]
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
statistics = true
show-source = false
max-line-length = 120
# E203,W503 and E704 are incompatible with the formatter black
ignore = ["E203", "W503", "E704"]
inline-quotes = '"'
docstring-quotes = '"""'
multiline-quotes = '"""'
ban-relative-imports = true
per-file-ignores = """
# S101: asserts are fine in tests, tests shouldn't be build optimized
# S105: hardcoded passwords in tests are fine
# S106: hardcoded passwords in tests are fine
./tests/*: S101,S105,S106,
"""