-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
32 lines (28 loc) · 886 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
; Please do not edit this file!
; http://flake8.pycqa.org/en/latest/user/configuration.html#project-configuration
; https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
[flake8]
max_line_length = 120
max_complexity = 10
doctests = True
ignore = S101,E203,W503,FS003
; https://mypy.readthedocs.io/en/latest/config_file.html
[mypy]
plugins = pydantic.mypy
strict = True
install_types = True
non_interactive = False
ignore_missing_imports = True
disallow_subclassing_any = False
disallow_untyped_decorators = False
warn_unreachable = True
show_error_codes = True
; https://pydantic-docs.helpmanual.io/mypy_plugin/#configuring-the-plugin
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
; http://www.pydocstyle.org/en/latest/usage.html#configuration-files
[pydocstyle]
convention = numpy