april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

Fix lint script on error in the middle #162

Closed lkct closed 10 months ago

lkct commented 10 months ago

The script for linters introduced in #158 cannot capture errors in the middle and actually only fails when mypy fails. This has caused linter errors in #157 uncaptured (example: pydocstyle error in c2d4d25).

Also consider-using-augmented-assign is removed from pylint rules.