- Fix issue where commit hook did not work on NixOS (fixed to use
/usr/bin/env bash
instead/bin/bash
). [datakurre] - Allow to pass a folder where to run code analysis against. [gforcada]
- Increase minimum requirement of flake8. Older versions could make checks with exceptions in plugins as passed. [do3cc]
- Remove debug statements checker, flake8-debugger, flake8-print and jshint can do the same job. [gforcada]
- Removed pep3101 checker, flake8-pep3101 works exactly the same. [gforcada]
- Remove deprecated aliases checker, flake8-deprecated does the same job. [gforcada]
- Remove hasattr checker, 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 does the same job. [tisto] [gforcada]
- Fix typo on test that prevented ipdb imports from being found. [hvelarde]
- Less false positives for pep3101. [do3cc]
- Add
--jobs=1
to flake8 ifmultiprocessing
is set toFalse
. [saily] - Fix #151 by not instantiating
Lock
andValue
ifmultiprocessing
was set toFalse
. [saily]
- 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 #122 [gforcada]
- Improve split_lines from analyser which makes exclude statements with more than one directory to be ignored with
zc.buildout 1.7.1
. Fixes #129 [gil-cano] - Allow passing any option to flake8 or its plugins. Fixes #131 [gforcada]
- Create .git/hooks folder if it doesn't exist. Fixes #124 [gforcada]
- Compile all regexes on initialization to not have to compile them at every single use, it should make code analysis faster. [gforcada]
- Allow usage of wildcards in exclude statements. [saily]
- Add
check-manifest
as new dependency and a basic check. Fixes #69 [saily] - Add a new option to disable
jshint
warning suppression. Fixes #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 #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 withzc.buildout 1.7.1
. Fixes #115 [saily] - Add check for relative imports. Fixes #44 [saily]
- Replace manual comparisons of buildout options to
False
with abool_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 foripdb
.
Fixes #112 [saily]
- utf8-headers has been removed, replace it with
- 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]
- Added multiprocessing. This will dramatically increase speed on large packages when using pre-commit hooks. [saily]
- Return correct exit codes for console-scripts. Fixes #66 [saily]
- Refactor whole linters framework to use OO design patterns, inherit from
Analyser
abstract base class. Fixes #62 [saily] - Add bootstrap-buildout.py to flake8-exclude default. zc.buildout > 2 uses bootstrap-buildout.py instead of bootstrap.py. [timo]
- 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]
- Nothing changed since 1.0rc1.
- Return a string to avoid TypeError when no file was checked with
jscs
. [saily] - Check import sorting in
code_analysis_imports
and add tests for clean and sorted imports. [saily] - Refactor
code_analysis_clean_lines
to use a new method to retrieve files and avoid too complex violation. [saily]
- Add
clean-lines-exclude
support and updated README. [saily] - Added tests for clean-lines checks. [saily]
- Use indices for format() to support Python 2.6. Fixes #77 [timo]
- Add Javascript Code Style Checker
jscs
support. [saily] - Remove hard dependency on i18ndude and zptlint; this will reduce the number of Zope/Plone direct dependencies to make life happier to people using Pyramid and other web Python-based development frameworks. Fixes #53 [hvelarde]
- Do not print out jshint and csslint output for Jenkins. Those files can become quite large. [timo]
- Remove progress bullets from flake8 check. [timo]
- Improve the way to handle an exception if the command used in popen does not exist. [flohcim]
- Fix code analysis method by making it call each check only if the option is activated. [flohcim]
- Keep backward compatibility with 'string-formatting' option. [hvelarde]
- Rename 'deprecated-alias' to 'deprecated-aliases' and keep backward compatibility. [hvelarde]
- Implement Jenkins option on CSS Lint and JSHint. [hvelarde, ramiroluz]
- Rename 'deprecated-methods' to 'deprecated-alias'. [gforcada]
- Rename 'string-formatting' option to 'pep3101' to keep consistency. [hvelarde]
- Remove unused CSSLINT_IGNORE remainings. [timo]
- Simplify code analysis method and make it more readable. [timo]
- Add return-status-codes option that allows to fail a CI-build on Travis. [timo]
- Make system wide installed csslint the default value for the csslint-bin option. [timo]
- Deprecate 'csslint-quiet', 'csslint-ignore' and 'csslint-exclude-list' options; CSS Lint must be configured now using a '.csslintrc' file. 'csslint-bin' option now defaults to
bin/csslint
; documentation was updated (closes #20). [hvelarde] - Implement removal of pre-commit hook. Fixes #21 [hvelarde]
- Workaround over JSHint limitations to avoid displaying warning messages as errors. Fixes #13 [hvelarde]
- Fix CSS Lint validation and implement new 'csslint-quiet' option. [hvelarde]
- Fix package distribution. [hvelarde]
- Initial release. [timo]