Skip to content

Commit 6b66e22

Browse files
committed
Add mypy config
The _version.py and testUSB1 modules are both ignored by mypy since they're "internal" to the package. They can be included in the future by simply removing their 'ignore_errors' lines.
1 parent 5b836db commit 6b66e22

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mypy.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[mypy]
2+
warn_return_any = True
3+
warn_unused_configs = True
4+
5+
[mypy-usb1._version]
6+
ignore_errors = True
7+
8+
[mypy-usb1.testUSB1]
9+
ignore_errors = True

0 commit comments

Comments
 (0)