File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 55 - id : end-of-file-fixer
66 - id : trailing-whitespace
77 - repo : https://github.com/python-jsonschema/check-jsonschema
8- rev : 0.29.4
8+ rev : 0.30.0
99 hooks :
1010 - id : check-github-workflows
1111 args : ["--verbose"]
@@ -24,13 +24,13 @@ repos:
2424 hooks :
2525 - id : pyproject-fmt
2626 - repo : https://github.com/astral-sh/ruff-pre-commit
27- rev : " v0.8.0 "
27+ rev : " v0.8.1 "
2828 hooks :
2929 - id : ruff-format
3030 - id : ruff
3131 args : ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
3232 - repo : https://github.com/rbubley/mirrors-prettier
33- rev : " v3.3.3 " # Use the sha / tag you want to point at
33+ rev : " v3.4.1 " # Use the sha / tag you want to point at
3434 hooks :
3535 - id : prettier
3636 additional_dependencies :
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def __call__( # noqa: PLR0913
106106 if passed_param != set_param
107107 }
108108 if not non_matching_params :
109- return cast (BaseFileLock , instance )
109+ return cast (" BaseFileLock" , instance )
110110
111111 # parameters do not match; raise error
112112 msg = "Singleton lock instances cannot be initialized with differing arguments"
@@ -136,7 +136,7 @@ def __call__( # noqa: PLR0913
136136 if is_singleton :
137137 cls ._instances [str (lock_file )] = instance # type: ignore[attr-defined]
138138
139- return cast (BaseFileLock , instance )
139+ return cast (" BaseFileLock" , instance )
140140
141141
142142class BaseFileLock (contextlib .ContextDecorator , metaclass = FileLockMeta ):
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def _release(self) -> None:
5656 # Do not remove the lockfile:
5757 # https://github.com/tox-dev/py-filelock/issues/31
5858 # https://stackoverflow.com/questions/17708885/flock-removing-locked-file-without-race-condition
59- fd = cast (int , self ._context .lock_file_fd )
59+ fd = cast (" int" , self ._context .lock_file_fd )
6060 self ._context .lock_file_fd = None
6161 fcntl .flock (fd , fcntl .LOCK_UN )
6262 os .close (fd )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def _acquire(self) -> None:
4040 self ._context .lock_file_fd = fd
4141
4242 def _release (self ) -> None :
43- fd = cast (int , self ._context .lock_file_fd )
43+ fd = cast (" int" , self ._context .lock_file_fd )
4444 self ._context .lock_file_fd = None
4545 msvcrt .locking (fd , msvcrt .LK_UNLCK , 1 )
4646 os .close (fd )
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def __call__( # type: ignore[override] # noqa: PLR0913
9595 run_in_executor = run_in_executor ,
9696 executor = executor ,
9797 )
98- return cast (BaseAsyncFileLock , instance )
98+ return cast (" BaseAsyncFileLock" , instance )
9999
100100
101101class BaseAsyncFileLock (BaseFileLock , metaclass = AsyncFileLockMeta ):
You can’t perform that action at this time.
0 commit comments