forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
39 lines (34 loc) · 1.33 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
# pytest pycodestyle configuration
[tool:pytest]
# Function starting with the following pattern are considered for test cases.
python_functions=test_
# pytest pycodestyle configuration
codestyle_max_line_length = 88
codestyle_ignore = E302 W503 E203 E501 E265 E402 E251 E211
codestyle_exclude =
rasa/core/policies/tf_utils.py
rasa/core/policies/__init__.py
filterwarnings =
ignore::ResourceWarning:ruamel[.*]
#error
log_cli = true
log_cli_level = WARNING
[flake8]
max-line-length = 88
max-doc-length = 88
# See these resources for descriptions of the error codes:
# E***, F***, W*** : https://flake8.pycqa.org/en/latest/user/error-codes.html
# D***: http://www.pydocstyle.org/en/stable/error_codes.html
ignore = W503, E121, E126, E211, E225, E501, E203, E402, F401, F811, E231,
D100, # ignore missing docstrings in public module
D104, # ignore missing docstrings in public package
D105, # ignore missing docstrings in magic methods
docstring-convention = google
[mypy]
# some libraries do not have type hints; ideally we remove
# this at some point but it will require a lot of efforts from us and library owners
ignore_missing_imports = True
show_error_codes = True
warn_redundant_casts = True
warn_unused_ignores = True
# FIXME: more configuration using the --disable-error-code CLI argument (see types directive in Makefile)