Skip to content

Commit 9d20be1

Browse files
authored
Merge pull request #1902 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 045f297 + 06c1503 commit 9d20be1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- id: pyupgrade
2727
args: [--py38-plus]
2828
- repo: https://github.com/psf/black
29-
rev: 23.11.0
29+
rev: 23.12.0
3030
hooks:
3131
- id: black
3232
args: [--line-length=79]

src/flake8/checker.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def _mp_init(argv: Sequence[str]) -> None:
7070
signal.signal(signal.SIGINT, signal.SIG_IGN)
7171

7272
try:
73-
_mp_plugins, _mp_options # for `fork` this'll already be set
73+
# for `fork` this'll already be set
74+
_mp_plugins, _mp_options # noqa: B018
7475
except NameError:
7576
plugins, options = parse_args(argv)
7677
_mp_plugins, _mp_options = plugins.checkers, options

tests/unit/plugins/reporter_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def _opts(**kwargs):
14-
kwargs.setdefault("quiet", 0),
14+
kwargs.setdefault("quiet", 0)
1515
kwargs.setdefault("color", "never")
1616
kwargs.setdefault("output_file", None)
1717
return argparse.Namespace(**kwargs)

0 commit comments

Comments
 (0)