We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a39bbb commit d56681aCopy full SHA for d56681a
.pre-commit-config.yaml
@@ -21,7 +21,7 @@ repos:
21
hooks:
22
- id: isort
23
- repo: https://github.com/psf/black
24
- rev: 21.11b1
+ rev: 21.12b0
25
26
- id: black
27
args: [ --safe ]
src/filelock/_unix.py
@@ -12,7 +12,6 @@
12
class UnixFileLock(BaseFileLock, ABC):
13
"""Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems."""
14
15
-
16
else: # pragma: win32 no cover
17
try:
18
import fcntl
src/filelock/_windows.py
@@ -45,7 +45,6 @@ def _release(self) -> None:
45
except OSError:
46
pass
47
48
49
50
51
class WindowsFileLock(BaseFileLock, ABC):
0 commit comments