schneebergerlab / msyd

MIT License
9 stars 0 forks source link

Github action to test python package #9

Open mnshgl0110 opened 1 year ago

mnshgl0110 commented 1 year ago

Consider adding github action to automatically check code-quality and correctness. I tested them on hometools and they seem to be quite useful in finding obscure errors. https://github.com/mnshgl0110/hometools/blob/master/.github/workflows/python-package.yml

To lint cython files, change the flake8 command like below: flake8 . --filename *.py,*.pyx --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=E225,226