-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (81 loc) · 1.9 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
[project]
name = "mario"
description = "The Pipeline Runner"
authors = [{ name = "WGBH-MLA", email = "[email protected]" }]
dependencies = [
"sonyci[cli]~=0.2",
"loguru~=0.7",
"metaflow~=2.12",
"kubernetes~=31.0",
"boto3~=1.33",
]
requires-python = ">=3.7"
readme = "README.md"
license = { text = "MIT" }
dynamic = ["version"]
[project.scripts]
mario = "mario.__main__:app"
[project.optional-dependencies]
test = [
"pytest~=7.3",
"pytest-vcr~=1.0",
"pytest-cov~=4.0",
"pytest-sugar~=0.9",
"pytest-xdist~=3.2",
]
cli = ["typer[all]>=0.9.0", "trogon>=0.3.0"]
cli-ci = ["typer>=0.9.0", "trogon>=0.3.0"]
docs = [
"mkdocs~=1.4",
"mkdocs-material~=9.1",
"mkdocs-git-revision-date-localized-plugin~=1.2",
"mike",
"mkdocstrings[python]~=0.21",
"mkdocs-jupyter~=0.24",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
version = { source = "file", path = "mario/_version.py" }
[tool.pdm.dev-dependencies]
dev = [
"ruff~=0.6",
"black~=23.3",
"pre-commit~=2.21",
"rich~=12.5",
"ggshield~=1.18",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["no_ci: marks tests to skip on CI"]
[tool.coverage.run]
omit = ["tests/*"]
[tool.ruff.flake8-quotes]
inline-quotes = "single"
[tool.ruff]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle errors
"ERA", # eradicate
"F", # pyflakes
"I", # isort
"INT", # flake8-gettext
"N", # pep8-naming
"PIE", # flake8-pie,
"PLC", # pylint - convention
"PLE", # pylint - error
"PLW", # pylint - warning
"Q", # flake8-quotes
"RET", # flake8-return,
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"B008", # Do not perform function call in argument defaults
"E501", # line too long
]