Skip to content

Commit

Permalink
upgrade dev deps; fix catching YAMLError
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcarneiro committed Jun 27, 2021
1 parent 46d56dd commit d3a4d76
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
38 changes: 30 additions & 8 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
flake8==3.7.8
tox==2.3.1
coverage==4.1
pluggy==0.6.0
pytest==3.5.0
pytest-cov==2.5.1
mypy==0.740
aiohttp==3.7.4
pytz
appdirs==1.4.4
async-timeout==3.0.1
attrs==21.2.0
chardet==3.0.4
coverage==5.5
distlib==0.3.2
filelock==3.0.12
flake8==3.9.2
idna==3.2
iniconfig==1.1.1
mccabe==0.6.1
multidict==5.1.0
mypy==0.910
mypy-extensions==0.4.3
packaging==20.9
pluggy==0.13.1
py==1.10.0
pycodestyle==2.7.0
pyflakes==2.3.1
pyparsing==2.4.7
pytest==6.2.4
pytest-cov==2.12.1
pytz==2021.1
six==1.16.0
toml==0.10.2
tox==3.23.1
typing-extensions==3.10.0.0
virtualenv==20.4.7
yarl==1.6.3
types-pytz==2021.1.0
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ commands=flake8 yacron tests

[testenv:mypy]
basepython=python3
deps=mypy
deps=
mypy
types-pytz
commands=mypy -p yacron --ignore-missing-imports


Expand Down
2 changes: 1 addition & 1 deletion yacron/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Str,
MapPattern,
)
from ruamel.yaml.error import YAMLError
from strictyaml.ruamel.error import YAMLError

from crontab import CronTab

Expand Down

0 comments on commit d3a4d76

Please sign in to comment.