Skip to content

Commit 0114a68

Browse files
[pre-commit.ci] pre-commit autoupdate (#2609)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 912da0f commit 0114a68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/psf/black
8-
rev: 23.3.0
8+
rev: 23.7.0
99
hooks:
1010
- id: black
1111
- repo: https://github.com/tox-dev/tox-ini-fmt
@@ -24,7 +24,7 @@ repos:
2424
- id: prettier
2525
args: ["--print-width=120", "--prose-wrap=always"]
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.0.277"
27+
rev: "v0.0.278"
2828
hooks:
2929
- id: ruff
3030
args: [--fix, --exit-non-zero-on-fix]

tests/unit/activation/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __call__(self, monkeypatch, tmp_path):
8484
assert not exception.returncode, output # noqa: PT017
8585
return None
8686

87-
out = re.sub(r"pydev debugger: process \d+ is connecting\n\n", "", raw, re.M).strip().splitlines()
87+
out = re.sub(r"pydev debugger: process \d+ is connecting\n\n", "", raw, flags=re.MULTILINE).strip().splitlines()
8888
self.assert_output(out, raw, tmp_path)
8989
return env, activate_script
9090

0 commit comments

Comments
 (0)