- Stop maintainence. I've moved my projects' linting to use pre-commit.
- Require
isort
5.0.0+ and stop passing it the--recursive
argument, which is now a default.
- Support Python 3.8.
- Converted setuptools metadata to configuration file. This meant removing the
__version__
attribute from the package. If you want to inspect the installed version, useimportlib.metadata.version("multilint")
(docs / backport).
Drop
setup.py check
support sincetwine check
is the new, more complete, recommended way of checking distributable file correctness, as per the warning:warning: Check: This command has been deprecated. Use `twine check` instead: https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markup
multilint
can't runtwine check
since it needs running on yourdist
files instead of thesetup.py
file.You can integrate it on a typical
tox
setup with an extra commandtox dist/*
. For more information see the twine check documentation and the packaging documentation.
- Drop Python 2 and 3.4 support, only Python 3.5+ is supported now.
- Add support for running Black, the Python code auto-formatter.
- Drop support for Flake8 < 3.0.0.
- Support positional arguments for paths.
- Fix for modernize 0.6.1+
- Run modernize on the multilint codebase itself, so it now requires six
- Fix crash when setup.cfg doesn't exist.
- Add
--skip
argument which can be used to skip particular linters even though they're installed.
- Use
entry_points
insetup.py
instead ofscripts
- Support
python -m multilint
- Don't invoke
python setup.py check
if there is nosetup.py
.
- Remove default for paths in
setup.cfg
. - Check that paths exist before running the linters.
- Use the config header
tool:multilint
insetup.cfg
, rather thanmultilint
, to avoid clashing with any potentialsetup.py
commands. Yoursetup.cfg
will need updating.
- Work with
flake8
3.0+ which changed the way itsmain
function worked.
- Fix modernize running on Python 2.
- Run
isort
in the same Python process rather than withsubprocess
- Properly gate
flake8
andisort
so that they run only if they are installed.
- First release on PyPI.