-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timer: import submodules only and add tests #1075
timer: import submodules only and add tests #1075
Conversation
Does somebody know how to add slots to a class so that ruff accepts the code? I also get TC002 errors in |
Put the Also, when you run |
@MarkZH Thanks for the suggestions, everything looks fine now. |
For my own curiosity, what was your purpose for adding the |
@MarkZH "Slots are more efficient in terms of memory space and speed of access, and a bit safer than the default Python method of data access. " (Python Wiki) |
dc5524a
into
lichess-bot-devs:master
Type of pull request:
Description:
This PR updates the timer class to make the code more concise and adds tests.
Related Issues:
Addresses #920.
Checklist: