diku-dk / futhark

:boom::computer::boom: A data-parallel functional programming language
http://futhark-lang.org
ISC License
2.41k stars 166 forks source link

Style checking Python programs in CI #1894

Closed athas closed 1 year ago

athas commented 1 year ago

We have a bunch of Python programs in tools/, but where our Haskell code is closely scrutinized by such things as hlint, ormolu, and GHC itself, no such thing has been set up for Python.

I have no idea what kind of linters are commonly used for Python, but someone should investigate and set it up.

kfl commented 1 year ago

I recommend:

I've been recommended flake8 https://github.com/pycqa/flake8, but personally I've found it too big an investment compared to the gains.

WilliamDue commented 1 year ago

Thanks @kfl this was very helpful!