Skip to content

Fix CI typecheck (add new ignores) #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/typecheck_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'(expression has type "None", variable has type "ForeignKeyTarget")',
'"_MonkeyPatchedWSGIResponse" has no attribute "content"',
'"_MonkeyPatchedWSGIResponse" has no attribute "data"',
'" defined here',
],
"authentication": [
'Argument 1 to "post" of "APIClient" has incompatible type "None"; expected "str',
Expand Down Expand Up @@ -87,9 +88,6 @@
'"ForeignKeyTarget" has no attribute "sources"',
'"CustomManager" not callable',
],
"serializers.pyi": [
'note: "IntegerSerializer" defined here',
],
"test_authtoken.py": [
'Item "None" of "Optional[Token]" has no attribute "key"',
'Argument 1 to "get_fields" of "BaseModelAdmin" has incompatible type "object"; expected "HttpRequest"',
Expand Down Expand Up @@ -176,6 +174,7 @@
'Item "URLResolver" of "Union[URLPattern, URLResolver]" has no attribute "name"',
'"None" not callable',
'"BasenameTestCase" has no attribute "router"',
'Unexpected keyword argument "use_regex_path" for "SimpleRouter"',
],
"test_serializer.py": [
"base class",
Expand Down