-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (45 loc) · 935 Bytes
/
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addopts = """
--import-mode=importlib \
--junitxml=tests/reports/pytest.xml \
--cov=src/glassflow \
--cov-report xml:tests/reports/coverage.xml \
-ra -q
"""
testpaths = [
"tests",
]
[tool.coverage.html]
skip_covered = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.datamodel-codegen]
field-constraints = true
snake-case-field = true
strip-default-none = false
target-python-version = "3.7"
use-title-as-name = true
disable-timestamp = true
enable-version-header = true
use-double-quotes = true
use-subclass-enum=true
input-file-type = "openapi"
output-model-type = "dataclasses.dataclass"