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

Added typehints to crosspectrum.py and powerspectrum.py and black formatting to crossspectrum and powerspectrum #710

Conversation

pupperemeritus
Copy link
Contributor

@pupperemeritus pupperemeritus commented Mar 20, 2023

Completed adding typehints and black autoformatting to crossspectrum.py. Will add typehints and autoformat powrspectrum.py soon. #544

Copy link
Contributor

@capy-on-caffeine capy-on-caffeine left a comment

Choose a reason for hiding this comment

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

I think you accidentally typed float instead of bool on line 604

@pupperemeritus
Copy link
Contributor Author

Thanks didn't catch it.

@pupperemeritus
Copy link
Contributor Author

pupperemeritus commented Apr 2, 2023

Added typehints to crossspectrum.py as well. Requesting review

@pupperemeritus
Copy link
Contributor Author

The Self type annotation I'm using is only available from python 3.11 onward. Maybe I should just replace it with plain typevar.

@pupperemeritus pupperemeritus deleted the adding_typehints_powerspectrum_crosspectrum branch June 22, 2023 08:00
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

2 participants