szabgab / pydigger.com

PyDigger - unearthing stuff in Python
http://pydigger.com/
MIT License
26 stars 17 forks source link

Addition of pre-commits #124

Open Danguilhen opened 1 year ago

Danguilhen commented 1 year ago

Hello,

I see you are not using pre-commits. Pre-commits enable the code to have a better quality and the maintainability is much easier especially when multiple people are involved.

I suggest to duplicate my example from the package ipoly: https://github.com/Danguilhen/ipoly/blob/0.1.6/.pre-commit-config.yaml

I can do the adjustments on a future PR if you agree on the idea !?

szabgab commented 1 year ago

I am personally not a fan of pre-commit hooks, I usually prefer to add such checks to the CI system. However, recently I started to play with it. I'll take a look at it so I better understand it before we add it.