Skip to content

Commit

Permalink
Add mypy config
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ahawker committed Sep 8, 2020
1 parent 5b836db commit 6b66e22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[mypy]
warn_return_any = True
warn_unused_configs = True

[mypy-usb1._version]
ignore_errors = True

[mypy-usb1.testUSB1]
ignore_errors = True

0 comments on commit 6b66e22

Please sign in to comment.