renku-python icon indicating copy to clipboard operation
renku-python copied to clipboard

chore: update precommit

Open Panaetius opened this issue 3 years ago • 0 comments

Adds some more pre-commit checks, updates revisions of checks, properly formats file

New checks are:

  • check filename case for python files (MyPythonFile.py is invalid)
  • ignore helmcharts in check-yaml (it's not proper yaml usually because of templating)
  • check no big files are committed to git
  • check TOML file formatting
  • check not >>>> HEAD style git merge markers are committed
  • check not breakpoint() style debug statements are committed
  • add some more options for mypy checks
  • use yesqa to warn about unneeded # noqa comments
  • use bandit to run security checks
  • use poetry check to check pyproject.toml

Panaetius avatar Oct 27 '22 16:10 Panaetius