Skip to content

Commit

Permalink
Merge f36a9f5 into f13beb5
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Feb 24, 2016
2 parents f13beb5 + f36a9f5 commit 58420a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Change history
2.3 (unreleased)
----------------

- Nothing changed yet.
- Install isort script if flake8-isort is installed as well.
[gforcada]


2.2 (2016-02-20)
Expand Down
4 changes: 4 additions & 0 deletions plone/recipe/codeanalysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ def add_script(cmd, **kwargs):
(self.name, self.__module__, 'code_analysis'),
arguments=arguments
)
# isort
if 'flake8-isort' in self.extensions:
add_script('isort')

# others
for klass in all_checks:
instance = klass(self.options)
Expand Down

0 comments on commit 58420a8

Please sign in to comment.