diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-09-06 18:10:59 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-09-06 18:10:59 -0500 |
commit | b6121ab935438e48024db24cadd420f3d3e3cdce (patch) | |
tree | a987f089219484f5453968835c182249fc5f127c /noxfile.py | |
parent | a5396446b772079905f4c99d319c86bedc135c78 (diff) | |
download | requests-cache-b6121ab935438e48024db24cadd420f3d3e3cdce.tar.gz |
Add mypy to 'lint' shortcut for nox
Diffstat (limited to 'noxfile.py')
-rw-r--r-- | noxfile.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -77,5 +77,7 @@ def livedocs(session): @session(python=False) def lint(session): """Run linters and code formatters via pre-commit""" - cmd = 'pre-commit run --all-files' - session.run(*cmd.split(' ')) + cmd_1 = 'pre-commit run --all-files' + cmd_2 = 'mypy --install-types --non-interactive requests_cache' + session.run(*cmd_1.split(' ')) + session.run(*cmd_2.split(' ')) |