Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.11b1
rev: 21.12b0
hooks:
- id: black
args: [ --safe ]
Expand Down
1 change: 0 additions & 1 deletion src/filelock/_unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
class UnixFileLock(BaseFileLock, ABC):
"""Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems."""


else: # pragma: win32 no cover
try:
import fcntl
Expand Down
1 change: 0 additions & 1 deletion src/filelock/_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def _release(self) -> None:
except OSError:
pass


else: # pragma: win32 no cover

class WindowsFileLock(BaseFileLock, ABC):
Expand Down