ucfopen / canvasapi

Python API wrapper for Instructure's Canvas LMS. Easily manage courses, users, gradebooks, and more.
https://pypi.python.org/pypi/canvasapi
MIT License
559 stars 174 forks source link

Update precommit to run other code quality scripts #433

Open jessemcbride opened 4 years ago

jessemcbride commented 4 years ago

Right now, our pre-commit-config.yaml file is only configured to run black.

precommit should run:

Thetwam commented 4 years ago

Also isort! (assuming #438 goes through)

bennettscience commented 3 years ago

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.