Skip to content

Commit

Permalink
Fix Travis code-analysis.
Browse files Browse the repository at this point in the history
I though I had run it locally, but apparently not in the right way.
Travis complains about lots of lines with 'C812 missing trailing comma'.
Running 'black' fixes only a few of them, so I don't want to bother at this point.
So ignore C812 for now.

Also, running 'black' would give this error, which in the future will no longer be an error:
W503 line break before binary operator
So ignore that one too.
  • Loading branch information
mauritsvanrees committed Mar 25, 2019
1 parent f2766a9 commit 379e4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ignore-develop = true
recipe = plone.recipe.codeanalysis
directory = ${buildout:directory}/plone/recipe/varnish
flake8-exclude = docs,*.egg.,omelette
flake8-ignore = B901,D001,E501,P001,T000,T001,S001,I003,W504,W605
flake8-ignore = B901,D001,E501,P001,T000,T001,S001,I003,W503,W504,W605,C812
flake8-max-complexity = 15
flake8-extensions =
flake8-blind-except
Expand Down

0 comments on commit 379e4b7

Please sign in to comment.