Skip to content

Commit

Permalink
Merge pull request #1902 from PyCQA/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
sigmavirus24 authored Dec 20, 2023
2 parents 045f297 + 06c1503 commit 9d20be1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion src/flake8/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/plugins/reporter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


def _opts(**kwargs):
kwargs.setdefault("quiet", 0),
kwargs.setdefault("quiet", 0)
kwargs.setdefault("color", "never")
kwargs.setdefault("output_file", None)
return argparse.Namespace(**kwargs)
Expand Down

0 comments on commit 9d20be1

Please sign in to comment.