Skip to content

Commit

Permalink
Inline types for responses top level API (#537)
Browse files Browse the repository at this point in the history
* Add inline types for responses.__init__
* Remove type stub
* Add py.typed for mypy.
  • Loading branch information
beliaev-maksim committed May 3, 2022
1 parent 04c9e15 commit ebf6811
Show file tree
Hide file tree
Showing 8 changed files with 239 additions and 514 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,4 +1,5 @@
include README.rst CHANGES LICENSE
recursive-include responses *.py
include tox.ini
recursive-include responses py.typed
global-exclude *~
6 changes: 1 addition & 5 deletions mypy.ini
Expand Up @@ -2,7 +2,7 @@
show_column_numbers=True
show_error_codes = True

disallow_any_unimported=True
disallow_any_unimported=False
disallow_any_expr=False
disallow_any_decorated=True
disallow_any_explicit=False
Expand All @@ -25,10 +25,6 @@ warn_return_any=False
warn_unreachable=False

strict_equality=True

ignore_missing_imports=False

[mypy-urllib3.*]
ignore_missing_imports=True

[mypy-responses.tests.*]
Expand Down

0 comments on commit ebf6811

Please sign in to comment.