-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathmypy.ini
More file actions
21 lines (17 loc) · 690 Bytes
/
mypy.ini
File metadata and controls
21 lines (17 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[mypy]
pretty = True
show_error_context = True
show_column_numbers = True
show_error_end = True
check_untyped_defs = True
# see https://mypy.readthedocs.io/en/stable/error_code_list2.html
warn_redundant_casts = True
strict_equality = True
warn_unused_ignores = True
enable_error_code = deprecated,redundant-expr,possibly-undefined,truthy-bool,truthy-iterable,ignore-without-code,unused-awaitable
# todo ok, maybe it wasn't such a good idea..
# mainly because then tox picks it up and running against the user config, not the repository config
# mypy_path=~/.config/my
# it's not controlled by me, so for now just ignore..
[mypy-my.config.repos.pdfannots.pdfannots]
ignore_errors = True