Event Timeline
Comment Actions
upgrading pre-commit from 0.2.4 to 0.2.6 did not change a thing.
upgrading mypy fixed it:
$ pip install --upgrade mypy Collecting mypy Using cached mypy-0.782-cp37-cp37m-manylinux1_x86_64.whl (20.8 MB) Requirement already satisfied, skipping upgrade: typing-extensions>=3.7.4 in /home/tony/.virtualenvs/swh/lib/python3.7/site-packages (from mypy) (3.7.4) Requirement already satisfied, skipping upgrade: mypy-extensions<0.5.0,>=0.4.3 in /home/tony/.virtualenvs/swh/lib/python3.7/site-packages (from mypy) (0.4.3) Requirement already satisfied, skipping upgrade: typed-ast<1.5.0,>=1.4.0 in /home/tony/.virtualenvs/swh/lib/python3.7/site-packages (from mypy) (1.4.0) ERROR: django-stubs 1.5.0 has requirement mypy<0.780,>=0.770, but you'll have mypy 0.782 which is incompatible. Installing collected packages: mypy Attempting uninstall: mypy Found existing installation: mypy 0.770 Uninstalling mypy-0.770: Successfully uninstalled mypy-0.770 Successfully installed mypy-0.782 $ pre-commit run --all-files Trim Trailing Whitespace.................................................Passed Flake8...................................................................Passed Check JSON...............................................................Passed Check Yaml...............................................................Passed codespell................................................................Passed mypy.....................................................................Passed black....................................................................Passed