Skip to content

Commit 9c24b8a

Browse files
authored
Merge pull request #149 from pytest-dev/pre-commit-ci-update-config
2 parents 7a4aa8a + 1674513 commit 9c24b8a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
exclude: doc/en/example/py2py3/test_py2.py
22
repos:
33
- repo: https://github.com/psf/black
4-
rev: 21.10b0
4+
rev: 21.12b0
55
hooks:
66
- id: black
77
args: [--safe, --quiet]
88
- repo: https://github.com/asottile/blacken-docs
9-
rev: v1.11.0
9+
rev: v1.12.0
1010
hooks:
1111
- id: blacken-docs
1212
additional_dependencies: [black==19.3b0]

execnet/gateway_base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ def trace(*msg):
348348
except Exception:
349349
pass # nothing we can do, likely interpreter-shutdown
350350

351-
352351
elif DEBUG:
353352
import tempfile
354353
import os
@@ -369,7 +368,6 @@ def trace(*msg):
369368
except Exception:
370369
pass # nothing we can do, likely interpreter-shutdown
371370

372-
373371
else:
374372
notrace = trace = lambda *msg: None
375373

@@ -1126,7 +1124,6 @@ class LoadError(DataFormatError):
11261124
def bchr(n):
11271125
return bytes([n])
11281126

1129-
11301127
else:
11311128
bchr = chr
11321129

0 commit comments

Comments
 (0)