-
Notifications
You must be signed in to change notification settings - Fork 316
/
pyproject.toml
40 lines (35 loc) · 930 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
# this is not the used for the python package "fastui",
# for that see packages/python-fastui/pyproject.toml
[tool.ruff]
line-length = 120
extend-select = ["Q", "RUF100", "UP", "I"]
flake8-quotes = {inline-quotes = "single", multiline-quotes = "double"}
format.quote-style="single"
target-version = "py38"
[tool.pyright]
include = ["src/python-fastui/fastui"]
[tool.pytest.ini_options]
testpaths = [
"src/python-fastui/tests",
"demo/tests.py",
]
xfail_strict = true
filterwarnings = ["error"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["src/python-fastui/fastui"]
omit = [
"src/python-fastui/fastui/__main__.py",
"src/python-fastui/fastui/generate_typescript.py",
]
[tool.coverage.report]
precision = 2
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'if TYPE_CHECKING:',
'if typing.TYPE_CHECKING:',
'@overload',
'@typing.overload',
'\(Protocol\):$',
]