Open mnshgl0110 opened 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
flake8
flake8 . --filename *.py,*.pyx --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=E225,226
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