mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Check py files in features with flake8 (#2737)
They are correctly formatted and there is no reason not to enforce it.
This commit is contained in:
@@ -88,7 +88,7 @@ class Flake8(_Command):
|
|||||||
yield package_directory
|
yield package_directory
|
||||||
|
|
||||||
def targets(self):
|
def targets(self):
|
||||||
return [package for package in self.package_files()] + ['tests', 'setup.py']
|
return [package for package in self.package_files()] + ['tests', 'features', 'setup.py']
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
from flake8.main.cli import main
|
from flake8.main.cli import main
|
||||||
|
|||||||
Reference in New Issue
Block a user