forked from reboot-dev/reboot-bank
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.mypy.ini
37 lines (29 loc) · 1.15 KB
/
.mypy.ini
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
# A mypy configuration file, as documented here:
# https://mypy.readthedocs.io/en/stable/config_file.html
[mypy]
# Tell us if we're misspelling one of the configuration keys below.
warn_unused_configs = True
# Find modules in our source tree.
mypy_path = backend/src:backend/api
# Since `protoc` doesn't generate `__init__.py` files, we must tell mypy to treat the `mypy_path` entries as
# the explicit bases for our packages. See:
# https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules
explicit_package_bases = True
# The following error types are stricter than the default, but provide useful
# coverage that's easy for us to adhere to.
check_untyped_defs = True
strict_equality = True
[mypy-google.rpc.*]
# TODO: https://github.com/grpc/grpc/issues/29041
ignore_missing_imports = True
[mypy-grpc.*]
# TODO: https://github.com/grpc/grpc/issues/29041
ignore_missing_imports = True
[mypy-grpc_status.*]
# TODO: https://github.com/grpc/grpc/issues/29041
ignore_missing_imports = True
[mypy-bank.v1.*]
# TODO: See https://github.com/reboot-dev/respect/issues/2859
ignore_errors = True
[mypy-uuid_extensions.*]
ignore_missing_imports = True