DSimonne / gwaihir

Repository regarding the Gwaihir GUI used for Bragg Coherent Coherent Diffraction (BCDI) data analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert to python 3.9

DSimonne opened this issue · comments

Use walrus operator for if blocks (https://peps.python.org/pep-0572/)
Change in context manager (with)
Use type in definition parameters (https://peps.python.org/pep-0484/, https://peps.python.org/pep-0526/, https://www.python.org/dev/peps/pep-0585)
Replace os.walk by os.scandir (https://peps.python.org/pep-0471/)