fix(tests): annotate empty block in test_lock (S108) #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Claude/backup-script:fix/issue-37-S108-test-lock-empty-block"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #37
Add an explanatory comment inside the second
with Lock(lock_path):block intest_context_managerso SonarQube'spython:S108stops flagging the intentional no-op body that proves the lock can be re-acquired.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.