mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +00:00
Merge branch 'master' into 'master'
Fixed E305: expected 2 blank lines after class or function definition See merge request !135
This commit is contained in:
commit
c2ef3c2ce0
2 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ def patch_pyflakes():
|
|||
for name, obj in vars(pyflakes.messages).items():
|
||||
if name[0].isupper() and obj.message:
|
||||
obj.flake8_msg = '%s %s' % (codes.get(name, 'F999'), obj.message)
|
||||
|
||||
|
||||
patch_pyflakes()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue