Plone-recipe-codeanalysis

Latest version: v2.3

Safety actively analyzes 628044 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.0

----------------

- Improve split_lines from analyser which makes exclude statements with more
than one directory to be ignored with ``zc.buildout 1.7.1``.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/129
[gil-cano]

- Allow passing any option to flake8 or its plugins.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/131
[gforcada]

- Create .git/hooks folder if it doesn't exist.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/124
[gforcada]

- Compile all regexes on initialization to not have to compile them
at every single use, it should make code analysis faster.
[gforcada]

2.0b1

------------------

- Allow usage of wildcards in exclude statements.
[saily]

- Add ``check-manifest`` as new dependency and a basic check.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/69
[saily]

- Add a new option to disable ``jshint`` warning suppression.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/94
[saily]

- If an executable could not be found the code-analysis always failed. We've
changed this behaviour to return True and succeed the code-analysis.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/71
[saily]

- Exclude paths directly in ``find`` unix command which speeds up again a lot.
[saily]

- Exclude empty strings in ``self.extensions`` which broke install with
``zc.buildout 1.7.1``.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/115
[saily]

- Add check for relative imports.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/44
[saily]

2.0a2

------------------

- Replace manual comparisons of buildout options to ``False`` with a
``bool_option`` method.
[saily]

- Removed some plugins and replaced them with ``flake8`` plugins. Please
not the API change in buildout. Following options have been removed:

- **utf8-headers** has been removed, replace it with ``flake8-coding`` if
needed.
- **utf8-headers-exclude**
- **prefer-single-quotes** has been removed, replace it with
``flake8-quotes``.
- **prefer-single-quotes-exclude**
- **debug-statements** has some reduced functionality, because python
debugger checks should be included using ``flake8-debugger`` extension which
also checks for ``ipdb``.

Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/112
[saily]

- Add missing tests for deprecated_aliases parser.
[saily]

- Add new double quotes parser and add test for it. It now also supports
noqa statments and nested quotes.
[saily]

2.0a1

------------------

- Added multiprocessing. This will dramatically increase speed on large
packages when using pre-commit hooks.
[saily]

- Return correct exit codes for console-scripts.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/66
[saily]

- Refactor whole linters framework to use OO design patterns, inherit from
``Analyser`` abstract base class.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/62
[saily]

- Add bootstrap-buildout.py to flake8-exclude default. zc.buildout > 2 uses
bootstrap-buildout.py instead of bootstrap.py.
[timo]

1.1

----------------

- Add a check to look for hasattr() calls, which are considered bad practice.
[gforcada, jensens]

- Add option to store flake8 output if jenkins is False
[Michael Davis]

- Fix find_files from utils to find files, not directories
[do3cc]

1.0

----------------

- Nothing changed since 1.0rc1.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.