-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
53 lines (45 loc) · 1.02 KB
/
setup.cfg
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
[mypy]
# Mypy configuration:
# https://mypy.readthedocs.io/en/latest/config_file.html
plugins = pydantic.mypy
disallow_untyped_defs = True
# strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
show_error_codes = True
[mypy-pytest.*]
ignore_missing_imports = True
[isort]
# isort configuration:
# https://github.com/timothycrosley/isort/wiki/isort-Settings
include_trailing_comma = true
multi_line_output = 3
line_length = 88
force_grid_wrap = 0
combine_as_imports = True
[flake8]
format = wemake
show-source = True
statistics = False
max-line-length = 88
inline-quotes = double
i-control-code = False
per-file-ignores =
pybotx_smartapp_smart_logger/__init__.py:F401,WPS410,
tests/*:WPS442,
ignore =
# Docstrings
D,
# Asserts are ok
S101,WPS110,WPS226,WPS430,WPS432,WPS463,
[tool:pytest]
testpaths = tests
asyncio_mode = auto
addopts =
--strict-markers
--tb=short
--cov=pybotx_smartapp_smart_logger
--cov-report=term-missing
--cov-branch
--no-cov-on-fail
--cov-fail-under=100