Skip to content

Commit

Permalink
Merge pull request #281 from mkurnikov/update-deps
Browse files Browse the repository at this point in the history
Update dev deps, mypy to 0.760
  • Loading branch information
mkurnikov authored Dec 17, 2019
2 parents c1af26c + 998b659 commit 38135f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black
pytest-mypy-plugins==1.1.0
pytest-mypy-plugins==1.2.0
psycopg2
flake8==3.7.9
flake8-pyi==19.3.0
Expand Down
9 changes: 0 additions & 9 deletions scripts/enabled_test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@
],
'files': [
'Incompatible types in assignment (expression has type "IOBase", variable has type "File")',
'Argument 1 to "write" of "SpooledTemporaryFile"',
],
'filtered_relation': [
'has no attribute "name"',
Expand Down Expand Up @@ -231,13 +230,8 @@
],
'mail': [
'List item 1 has incompatible type "None"; expected "str"',
'Argument 1 to "push" of "SMTPChannel" has incompatible type "str"; expected "bytes"',
'Value of type "Union[List[Message], str, bytes, None]" is not indexable',
'Incompatible types in assignment '
+ '(expression has type "bool", variable has type "Union[SMTP_SSL, SMTP, None]")',
re.compile(
r'Item "(int|str)" of "Union\[Message, str, int, Any\]" has no attribute "(get_content_type|get_filename)"'
)
],
'messages_tests': [
'List item 0 has incompatible type "Dict[str, Message]"; expected "Message"',
Expand Down Expand Up @@ -320,9 +314,6 @@
'model_enums': [
"'bool' is not a valid base class",
],
'multiple_database': [
'Unexpected attribute "extra_arg" for model "Book"'
],
'null_queries': [
"Cannot resolve keyword 'foo' into field"
],
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def find_stub_files(name: str) -> List[str]:
readme = f.read()

dependencies = [
'mypy>=0.750,<0.760',
'mypy>=0.760,<0.770',
'typing-extensions',
'django',
]

setup(
name="django-stubs",
version="1.3.3",
version="1.4.0",
description='Mypy stubs for Django',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 38135f2

Please sign in to comment.