fix: improve file locking mechanism with atomic creation #455
qiniu-x / pylint
failed
Dec 5, 2024 in 36s
pylint found 2 issues related to your changes
This is the detailed log.
If you have any questions about this comment, feel free to raise an issue here.
Annotations
Check warning on line 151 in qiniu/http/regions_provider.py
qiniu-x / pylint
qiniu/http/regions_provider.py#L151
Consider explicitly re-raising using 'except FileExistsError as exc' and 'raise FileAlreadyLocked('File {0} already locked'.format(self._origin_file)) from exc' (raise-missing-from)
Check warning on line 151 in qiniu/http/regions_provider.py
qiniu-x / pylint
qiniu/http/regions_provider.py#L151
Formatting a regular string which could be an f-string (consider-using-f-string)
Loading