[x] Add isort back into the .pre-commit-config.yaml. Add isort options to setup.cfg or pyproject.toml compatible with black.
[x] Add mypy into the .pre-commit-config.yaml. Add mypy options to setup.cfg.
[x] Move command line options for all tools from tox.ini into config files setup.cfg, pyproject.toml, etc. Bare invocations of black, flake8, isort, pylint, pytest will be configured the same way remote and local. Command invocations by pre-commit will be configured the same way as direct invocations to the tools. Layer the macros to ease debugging.
isort
back into the.pre-commit-config.yaml
. Add isort options tosetup.cfg
orpyproject.toml
compatible withblack
.mypy
into the.pre-commit-config.yaml
. Addmypy
options tosetup.cfg
.tox.ini
into config filessetup.cfg
,pyproject.toml
, etc. Bare invocations ofblack
,flake8
,isort
,pylint
,pytest
will be configured the same way remote and local. Command invocations bypre-commit
will be configured the same way as direct invocations to the tools. Layer the macros to ease debugging.Understanding pep518: https://snarky.ca/clarifying-pep-518/