Plone.recipe.codeanalysis

Latest version: v3.0.1

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

Scan your dependencies

Page 2 of 5

2.1

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

- Remove debug statements checker,
`flake8-debugger <https://pypi.python.org/pypi/flake8-debugger>`_,
`flake8-print <https://pypi.python.org/pypi/flake8-print>`_
and jshint can do the same job.
[gforcada]

- Removed pep3101 checker,
`flake8-pep3101 <https://pypi.python.org/pypi/flake8-pep3101>`_
works exactly the same.
[gforcada]

- Remove deprecated aliases checker,
`flake8-deprecated <https://pypi.python.org/pypi/flake8-deprecated>`_
does the same job.
[gforcada]

- Remove hasattr checker,
`flake8-plone-hasattr <https://pypi.python.org/pypi/flake8-plone-hasattr>`_
does the same job.
[gforcada]

- Add a ``[recommended]`` extra to install a set of flake8 plugins,
some of them where part of p.r.codeanalysis up until this release.
[gforcada]

- Remove leftovers from utf-8 checker removal.
[gforcada]

- Remove imports checker,
`flake8-isort <https://pypi.python.org/pypi/flake8-isort>`_
does the same job.
[tisto] [gforcada]

- Fix typo on test that prevented ipdb imports from being found.
[hvelarde]

2.0.2

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

- Less false positives for pep3101.
[do3cc]

- Add ``--jobs=1`` to flake8 if ``multiprocessing`` is set to ``False``.
[saily]

- Fix 151 by not instantiating ``Lock`` and ``Value`` if ``multiprocessing``
was set to ``False``.
[saily]

2.0.1

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

- synchronize :-)
[do3cc]
Fix multiprocessing bug. Shared state is hard to

- Change pep3101 logic. No more false positives on log
strings.
[do3cc]

- Clean tests output.
Fixes https://github.com/plone/plone.recipe.codeanalysis/issues/122
[gforcada]

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]

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.