Skip to content

Commit

Permalink
Merge pull request #298 from plone/issue_296
Browse files Browse the repository at this point in the history
moved flake8 settings from buildout to setup.cfg (see #296 and plone.…
  • Loading branch information
MrTango committed Jun 19, 2018
2 parents 7739398 + 10c429e commit d885198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bobtemplates/plone/addon/buildout.cfg.bob
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ eggs =
[code-analysis]
recipe = plone.recipe.codeanalysis[recommended]
directory = ${buildout:directory}/src/{{{ package.namespace }}}
flake8-exclude = bootstrap.py,bootstrap-buildout.py,docs,*.egg.,omelette
flake8-max-complexity = 15
return-status-codes = False


Expand Down
4 changes: 4 additions & 0 deletions bobtemplates/plone/addon/setup.cfg.bob
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ force_single_line = True
lines_after_imports = 2
line_length = 200
not_skip = __init__.py

[flake8]
exclude = bootstrap.py,bootstrap-buildout.py,docs,*.egg.,omelette
max-complexity = 15

0 comments on commit d885198

Please sign in to comment.