canvasapi
canvasapi copied to clipboard
Update precommit to run other code quality scripts
Right now, our pre-commit-config.yaml
file is only configured to run black
.
precommit should run:
- black
- flake8
- scripts/alphabetic.py
- scripts/find_missing_kwargs.py
Also isort
! (assuming #438 goes through)
Is it possible to pass the diffed file only to precommit? I got it working with discover
on the tests directory, but couldn't limit it to the committed file only.