Merge pull request #1902 from PyCQA/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Ian Stapleton Cordasco 2023-12-20 07:01:01 -06:00 committed by GitHub
commit 9d20be1d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -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]

View file

@ -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

View file

@ -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)