Skip to content

Commit 5354293

Browse files
pyup-botsamuelcolvin
authored andcommitted
Update mypy to 0.510 (#30)
* Update mypy from 0.471 to 0.510 * fix linting
1 parent 63426e4 commit 5354293

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ htmlcov/
1212
test.py
1313
*.egg-info
1414
docs/_build/
15+
.mypy_cache/

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lint:
1414
python setup.py check -rms
1515
flake8 arq/ tests/
1616
pytest arq -p no:sugar -q --cache-clear
17-
mypy --fast-parser --ignore-missing-imports --follow-imports=skip arq/
17+
mypy --ignore-missing-imports --follow-imports=skip arq/
1818

1919
.PHONY: test
2020
test:

arq/worker.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
from datetime import datetime
1414
from importlib import import_module, reload
1515
from multiprocessing import Process
16-
from signal import Signals # type: ignore
16+
from signal import Signals
17+
from typing import Dict, Set # noqa
1718

1819
from .jobs import Job
1920
from .logs import default_log_config

tests/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
coverage==4.3.4
22
docutils==0.13.1
33
flake8==3.3.0
4-
mypy==0.471
4+
mypy==0.510
55
pycodestyle==2.3.1
66
pyflakes==1.5.0
77
pytest==3.0.7

0 commit comments

Comments
 (0)