bashate Release Notes¶
Adds an option
--max-line-lengthto specify the maximum length of lines for check E006.
bashate is now Python 3 only and no longer supports Python 2.
Python 3.6 support added
Hidden files such as
.bashrcare no longer checked for
A basic check for
[[when using non-POSIX comparisions such as
Enable bashate to be called as a module
python -m bashate ...
Enable pre-commit.com support
Adoped pycodestyle/pep8 default output format.
Python 3 is supported
Ignore contents of
heredocsusually contain content in a foreign syntax so
bashatewill no longer consider them.
Continuation lines are now parsed into an array, rather than a single logical-line. This fixes continuation lines being incorrectly reported as too long.
Indentation now allows emacs-formatted idents, where continuation lines for long commands align to the first argument above (rather than a strict modulo of 4). e.g.
longcommand arg1 arg2 arg3 \ arg4 arg5
will no longer trigger a bad indent warning.
bash -nto detect unclosed heredocs, rather than construct our own parsing.
Correctly check for newlines at the end of all files; even if you only specify one file to check.
started using reno