mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
test_runner: revive flake8
This commit is contained in:
committed by
Alexander Bayandin
parent
4c2bb43775
commit
ae3227509c
@@ -50,6 +50,10 @@ def isort(fix_inplace: bool) -> str:
|
||||
return cmd
|
||||
|
||||
|
||||
def flake8() -> str:
|
||||
return "poetry run flake8"
|
||||
|
||||
|
||||
def mypy() -> str:
|
||||
return "poetry run mypy"
|
||||
|
||||
@@ -122,6 +126,13 @@ if __name__ == "__main__":
|
||||
changed_files=files,
|
||||
no_color=args.no_color,
|
||||
)
|
||||
check(
|
||||
name="flake8",
|
||||
suffix=".py",
|
||||
cmd=flake8(),
|
||||
changed_files=files,
|
||||
no_color=args.no_color,
|
||||
)
|
||||
check(
|
||||
name="mypy",
|
||||
suffix=".py",
|
||||
|
||||
Reference in New Issue
Block a user