-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
101 lines (92 loc) · 1.75 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
99
100
101
[tool.poetry]
name = "renku-notebooks"
version = "1.19.1"
description = "An API service to provide jupyter notebooks for the Renku platform."
authors = ["Renku team <[email protected]>"]
license = "Apache 2"
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
docker = "*"
python-gitlab = "*"
flask = "*"
escapism = "*"
kubernetes = "*"
gunicorn = "*"
requests = "^2.32.3" # 2.32.0 breaks docker+http protocol
pyyaml = ">=4.2b1"
urllib3 = ">=1.24.2"
sentry-sdk = {extras = ["flask"], version = "*"}
gevent = "*"
apispec-webframeworks = "*"
webargs = "*"
pyjwt = "<3.0.0"
marshmallow = "*"
apispec = {extras = ["marshmallow"], version = "*"}
importlib-metadata = "*"
dataconf = "^3.2.0"
python-ulid = "^2.7.0"
cryptography = "^42.0.5"
[tool.poetry.group.dev.dependencies]
chartpress = "*"
pytest = "*"
pre-commit = "*"
pytest-cov = "*"
pytest-mock = "*"
ptvsd = "~=4.2"
typed-ast = "*"
typing-extensions = "*"
semver = "*"
importlib-metadata = "*"
ruff = "^0.4.9"
responses = "^0.25.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py311"
output-format = "full"
include = ["*.py", "*.pyi"]
[tool.ruff.lint]
select = [
# isort
"I",
# pydocstyle
"D",
# pyflakes
"F",
# pycodestyle
"E",
"W",
# pyupgrade
"UP",
# flake8-simplify
"SIM",
]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D202",
"D211",
"D213",
"D401",
"E202",
"E226",
"E231",
"UP007",
"UP038"
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"renku_notebooks/__init__.py" = ["E402"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["renku_notebooks", "tests/unit", "tests/integration"]