-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.cfg
42 lines (40 loc) · 973 Bytes
/
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
[flake8]
application-import-name=riot
exclude=
.riot,
.git,
__pycache__,
*.eggs*,
build,
# Ignore:
# G201 Logging: .exception(...) should be used instead of .error(..., exc_info=True)
# E501,E231,W503: not respected by black
# We ignore most of the D errors because there are too many; the goal is to fix them eventually
ignore = E501,W503,E231,G201,D100,D101,D102,D103,D104,D107,B902,W605
enable-extensions=G
import-order-style=google
[mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
warn_unused_ignores = true
warn_unused_configs = true
disallow_any_generics = true
warn_redundant_casts = true
warn_return_any = true
strict_equality = true
no_implicit_optional = true
files = riot,tests
[tool:pytest]
addopts =
--ignore=riot/__main__.py
--doctest-modules
--doctest-glob="*.py"
--color=yes
--cov=riot/
--cov=tests/
--cov-append
--cov-report=
testpaths =
tests
riot