-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
43 lines (36 loc) · 1015 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
[tool.isort]
profile = "black"
split_on_trailing_comma = true
[tool.black]
line-length = 80
skip-string-normalization = true
# see https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style
preview = true
enable-unstable-feature = ["hug_parens_with_braces_and_square_brackets"]
extend-exclude = 'alws/alembic'
[tool.pylint]
max-line-length = 80
# Minimum line length for functions/classes that require docstrings
docstring-min-length = 50
# https://pylint.readthedocs.io/en/stable/user_guide/checkers/features.html
disable = [
"C0114", # missing-module-docstring
"R0902", # too-many-instance-attributes
"R0913", # too-many-arguments
"W1514", # unspecified-encoding
]
[tool.coverage.run]
source = ['.']
omit = [
'alws/alembic/*',
'alws/scripts/*',
]
[tool.coverage.report]
skip_empty = true
include = ['alws/*']
[tool.pytest.ini_options]
pythonpath = '.'
testpaths = ['tests']
filterwarnings = [
'ignore:Pydantic serializer warnings:UserWarning'
]