mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Commit ab647abad3 (#15779) accidentally
removed this.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
11 lines
262 B
Python
11 lines
262 B
Python
from typing import List
|
|
|
|
from zulint.linters import run_command
|
|
from zulint.printer import colors
|
|
|
|
|
|
def check_pep8(files: List[str]) -> bool:
|
|
if not files:
|
|
return False
|
|
return run_command("pep8", next(colors), ["pycodestyle", "--", *files]) != 0
|