-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.39 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
[tool.poetry]
name = "federation-registry-feeder"
version = "0.1.0"
description = "Python script to populate the Federation-Registry app"
authors = ["Giovanni Savarese <[email protected]>"]
packages = [{ include = "src" }]
[tool.poetry.dependencies]
python = ">=3.9.2,<4.0.0"
python-openstackclient = "^6.2.0"
python-glanceclient = "^4.4.0"
kafka-python = "^2.0.2"
fastapi = "^0.115.8"
fedreg = {git = "https://github.com/infn-datacloud/federation-registry-lib.git", tag = "v1.0.0"}
liboidcagent = "^0.6"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
pytest = "^7.4.4"
pytest-cases = "^3.8.2"
pytest-cov = {extras = ["toml"], version = "^6.0.0"}
pytest-mock = "^3.12.0"
ruff = "^0.9.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
# Add rules on PyFlakes(F), pycodestyle (E,W), isort (I),
# mccabe (C90) pep8-naming (N), pydocstyle (D), pyupgrade (UP),
# ruff specific rules (RUF),
# flake8-bugbear (B), flake8-logging-format (G), flake8-quotes (Q)
extend-select = ["B", "C90", "E", "F", "G", "I", "N", "Q", "RUF", "UP", "W"]
[tool.ruff.lint.per-file-ignores]
"provider.py" = ["N805"]
"openstack.py" = ["C901"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.coverage.run]
relative_files = true
source = ["src/"]
branch = true
omit = ["tests/**"]
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:"]