Skip to content

Commit

Permalink
Git amend went bad, sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc committed Sep 3, 2015
1 parent a31ca95 commit bcfd17d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plone/recipe/codeanalysis/pep3101.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from plone.recipe.codeanalysis.clean_lines import CleanLines
import re

FAIL_RE = re.compile(ur'^(?:[^\'"]*[\'"][^\'"]*[\'"])*\s*%|^\s*%')


class PEP3101(CleanLines):
"""
Expand Down Expand Up @@ -30,7 +32,7 @@ class PEP3101(CleanLines):
{
'extensions': ('py', ),
'fail': {
re.compile(ur'^(?:[^\'"]*[\'"][^\'"]*[\'"])*\s*%|^\s*%'): '{0:s} formatter',
FAIL_RE: '{0:s} formatter',
},
},
]
Expand Down

0 comments on commit bcfd17d

Please sign in to comment.