inventree / inventree-python

Python library for communication with inventree via API
https://docs.inventree.org/en/latest/api/python/python/
MIT License
26 stars 34 forks source link

Add a pre-commit configuration #210

Closed miggland closed 7 months ago

miggland commented 7 months ago

This is based on the one from the main InvenTree repository, but simplified.

Flake8 has been simplified, since it caused lots of errors before.

miggland commented 7 months ago

I don't know if this is something you want to have in this repo, but I find it quite helpful having to avoid problems in the tests appearing after pushing

SchrodingersGat commented 7 months ago

Thanks @miggland this is a great improvement :)