Skip to content

Commit d56681a

Browse files
[pre-commit.ci] pre-commit autoupdate (#123)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5a39bbb commit d56681a

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: isort
2323
- repo: https://github.com/psf/black
24-
rev: 21.11b1
24+
rev: 21.12b0
2525
hooks:
2626
- id: black
2727
args: [ --safe ]

src/filelock/_unix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
class UnixFileLock(BaseFileLock, ABC):
1313
"""Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems."""
1414

15-
1615
else: # pragma: win32 no cover
1716
try:
1817
import fcntl

src/filelock/_windows.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def _release(self) -> None:
4545
except OSError:
4646
pass
4747

48-
4948
else: # pragma: win32 no cover
5049

5150
class WindowsFileLock(BaseFileLock, ABC):

0 commit comments

Comments
 (0)