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

Albrja/mic-5546/mypy framework time #539

Merged
merged 5 commits into from
Nov 14, 2024
Merged

Conversation

albrja
Copy link
Contributor

@albrja albrja commented Nov 13, 2024

Albrja/mic-5546/mypy framework time

Fix mypy erros in framework/time.py

Changes and notes

Testing

@albrja
Copy link
Contributor Author

albrja commented Nov 13, 2024

There is not a CHANGELOG as of now because @patricktnast is exploring a way to deal with our generic time types.

self._standard_step_size: ClockStepSize = None
self._clock_step_size: ClockStepSize = None
self._individual_clocks: PopulationView = None
# return math.ceil((self.stop_time - self.time) / self.step_size) # type: ignore [operator]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this commented line

@albrja albrja merged commit c71111b into main Nov 14, 2024
6 checks passed
@albrja albrja deleted the albrja/mypy-framework-time branch November 14, 2024 00:03
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.

4 participants