Skip to content
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

Simplify the code #92

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Simplify the code #92

wants to merge 7 commits into from

Conversation

eumiro
Copy link

@eumiro eumiro commented Jun 27, 2023

Here are a few code simplifications and refactorings in separate commits

  1. Fix number of microseconds in an hour
  2. Simplify number clipping
  3. Simplify timedelta usage
  4. Simplify string formatting
  5. Simplify modulo calculations
  6. Replace floats with integers
  7. Use math.hypot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant