-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (55 loc) · 1.83 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
[tool.poetry]
name = "federation-registry"
version = "0.1.0"
description = "Python web application providing public REST API to inspect the configurations of the providers registered into the DataCloud project"
authors = ["Giovanni Savarese <[email protected]>", "Marica Antonacci <[email protected]>"]
packages = [{ include = "fed_reg"}]
[tool.poetry.dependencies]
python = ">=3.9,<4.0.0"
flaat = "^1.1.15"
fastapi = "^0.108"
uvicorn = "^0.22.0"
neomodel = "^5.3.0"
pydantic = {extras = ["email"], version = ">=1.10.9,<2.0.0"}
pycountry = "^22.3.5"
[tool.poetry.group.dev.dependencies]
CairoSVG = "^2.7.0"
httpx = "^0.24.1"
mkdocs-material = "^9.1.17"
mkdocs-git-authors-plugin = "^0.7.2"
mkdocstrings-python = "^1.1.2"
Pillow = "^10.3.0"
pytest = "^7.4.4"
pytest-cases = "^3.8.1"
pytest-cov = "^4.1.0"
pre-commit = "^3.3.3"
ruff = "^0.1.4"
networkx = "^3.2.1"
[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.flake8-bugbear]
# Ignore flake8-bugbear errors raised by Depends, Query and Security
extend-immutable-calls = [
"fastapi.Depends",
"fastapi.params.Depends",
"fastapi.Query",
"fastapi.params.Query",
"fastapi.Security",
"fastapi.params.Security",
]
[tool.ruff.lint.pep8-naming]
# Ignore pep8-naming errors raised by functions decorated with @validator and @root_validator
classmethod-decorators = [
"pydantic.root_validator",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = "--resetdb"