stingray icon indicating copy to clipboard operation
stingray copied to clipboard

Use type hints in Stingray

Open matteobachetti opened this issue 5 years ago • 3 comments

Using the syntax proposed in PEP 484, we should introduce type hints. It will make the library easier to debug and, maybe, to optimize using external libraries.

matteobachetti avatar Feb 19 '21 08:02 matteobachetti

Hello , I am a graduate student from NAOC. I would like to help to add type hints. And I added type hints to base.py. PR: #649

parkma99 avatar Mar 08 '22 15:03 parkma99

https://github.com/StingraySoftware/stingray/pull/651 May you please review my pull request?

mohamedmostafadawood avatar Mar 24 '22 20:03 mohamedmostafadawood

I added type hints to bexvar.py #708 and crossspectrum.py #710. Will add typehints to powerspectrum.py as well soon in #710 itself.

pupperemeritus avatar Mar 19 '23 07:03 pupperemeritus