mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
feat: implement github format
This commit is contained in:
parent
29e9e5df65
commit
818492df2d
4 changed files with 51 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ from __future__ import annotations
|
|||
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from unittest import mock
|
||||
|
||||
|
|
@ -396,5 +397,8 @@ def test_format_option_help(capsys):
|
|||
cli.main(["--help"])
|
||||
|
||||
out, err = capsys.readouterr()
|
||||
assert "(default, pylint, quiet-filename, quiet-nothing)" in out
|
||||
assert (
|
||||
"(default, github, pylint, quiet-filename, quiet-nothing)"
|
||||
in re.sub(re.compile(r"\n\s*"), "", out) # noqa: E501
|
||||
)
|
||||
assert err == ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue