mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Merge pull request #1902 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
9d20be1d1f
3 changed files with 4 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ repos:
|
|||
- id: pyupgrade
|
||||
args: [--py38-plus]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.11.0
|
||||
rev: 23.12.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--line-length=79]
|
||||
|
|
|
|||
|
|
@ -70,7 +70,8 @@ def _mp_init(argv: Sequence[str]) -> None:
|
|||
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
||||
|
||||
try:
|
||||
_mp_plugins, _mp_options # for `fork` this'll already be set
|
||||
# for `fork` this'll already be set
|
||||
_mp_plugins, _mp_options # noqa: B018
|
||||
except NameError:
|
||||
plugins, options = parse_args(argv)
|
||||
_mp_plugins, _mp_options = plugins.checkers, options
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ from flake8.plugins import reporter
|
|||
|
||||
|
||||
def _opts(**kwargs):
|
||||
kwargs.setdefault("quiet", 0),
|
||||
kwargs.setdefault("quiet", 0)
|
||||
kwargs.setdefault("color", "never")
|
||||
kwargs.setdefault("output_file", None)
|
||||
return argparse.Namespace(**kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue