-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
96 lines (82 loc) · 2.17 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
[tool.poetry]
version = "0.0.0"
description = ""
authors = ["Sierra Taylor Moxon <[email protected]>"]
name = "app"
packages = [
{ include = "app" }
]
[tool.poetry-dynamic-versioning]
enable = false
vcs = "git"
style = "pep440"
[tool.poetry.dependencies]
python = "^3.10.1"
fastapi = ">=0.92.0"
uvicorn = ">=0.23.2"
python-multipart = "^0.0.6"
ontobio = ">=2.8.8"
gunicorn = ">=20.1.0"
prefixmaps = "^0.2.5"
linkml-runtime = ">=1.5.5"
sparqlwrapper = ">=2.0.0"
oaklib = ">=0.5.12"
go-deploy = ">=0.4.1"
biothings-client = "^0.3.0"
email-validator = "^2.0.0.post2"
bmt = "^1.1.2"
gocam = "^0.2.0"
[tool.poetry.dev-dependencies]
pytest = ">=7.4.0"
pytest-bdd = "^6.1.1"
Sphinx = "^5.0.2"
sphinx-rtd-theme = ">=1.2.2"
sphinxcontrib-napoleon = "^0.7"
tox = ">=4.6.4"
httpx = ">=0.18.2"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
"tests/unit",
"tests/integration",
"tests/ingetration/step_defs",
]
[tool.poetry.extras]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinxcontrib-mermaid"]
[tool.black]
line-length = 120
target-version = ["py39", "py310"]
[tool.ruff]
extend-ignore = [
"D211", # `no-blank-line-before-class`
"D212", # `multi-line-summary-first-line`
"D401", # `First line of docstring should be in imperative mood`
"S101", # `Use of assert detected. It would be nice to keep this check for everything but the BDD tests.`
"B008", # `Do not perform function calls in argument defaults.`
"E101", # `Indentation contains mixed spaces and tabs` - because we have a lot of messy SPARQL
]
line-length = 120
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
# Select or ignore from https://beta.ruff.rs/docs/rules/
select = [
"B", # bugbear
"D", # pydocstyle
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"S", # flake8-bandit
"W", # Warning
]
unfixable = []
target-version = "py310"
[tool.ruff.mccabe]
max-complexity = 10
[tool.codespell]
skip = ["*.po","*.ts",".git","pyproject.toml","assert*"]
count = ""
quiet-level = 3