spacetelescope / PASTIS

Algorithm for analytical contrast predictions of coronagraphs on segmented telescopes
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

Set up proper linting with flake8 #145

Closed ivalaginja closed 2 years ago

ivalaginja commented 2 years ago

I realized I never set up comprehensive linting on this repo, this PR does this now. It defines a flake8 configfile and separates the linting and testing in two separate workflows.

Inspired by @ehpor on https://github.com/spacetelescope/catkit2.