]> git.pld-linux.org Git - packages/python-pep8.git/blob - python-pep8-nestedset.patch
6baabc507afd74f36340d41742c27aaf26a35e3e
[packages/python-pep8.git] / python-pep8-nestedset.patch
1 --- pep8-1.7.1/pep8.py.orig     2017-10-24 16:38:06.000000000 +0200
2 +++ pep8-1.7.1/pep8.py  2020-01-12 20:35:19.209557017 +0100
3 @@ -107,7 +107,7 @@
4  RERAISE_COMMA_REGEX = re.compile(r'raise\s+\w+\s*,.*,\s*\w+\s*$')
5  ERRORCODE_REGEX = re.compile(r'\b[A-Z]\d{3}\b')
6  DOCSTRING_REGEX = re.compile(r'u?r?["\']')
7 -EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
8 +EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[\[({] | [\]}),;:]')
9  WHITESPACE_AFTER_COMMA_REGEX = re.compile(r'[,;:]\s*(?:  |\t)')
10  COMPARE_SINGLETON_REGEX = re.compile(r'(\bNone|\bFalse|\bTrue)?\s*([=!]=)'
11                                       r'\s*(?(1)|(None|False|True))\b')
This page took 0.073924 seconds and 2 git commands to generate.