Skip to content

Commit 2973931

Browse files
scopjstasiak
authored andcommitted
Move mypy config to setup.cfg
Removes need for a separate file, better to have more in one place.
1 parent 9c0f1ab commit 2973931

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

mypy.ini

Lines changed: 0 additions & 7 deletions
This file was deleted.

setup.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22
show-source = 1
33
application-import-names=zeroconf
44
max-line-length=110
5+
6+
[mypy]
7+
ignore_missing_imports = true
8+
follow_imports = error
9+
warn_no_return = true
10+
warn_redundant_casts = true
11+
# TODO: disallow untyped defs once we have full type hint coverage
12+
disallow_untyped_defs = false

0 commit comments

Comments
 (0)