Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.88k stars 372 forks source link

Create a global makefile that runs linting on all the sub folder projects #2398

Open dabeeeenster opened 1 year ago

dabeeeenster commented 1 year ago

One question - would it be better to run pre-commit to drive the linting rather than directly with commands like black --check . - otherwise we will get version drift?

novakzaballa commented 1 year ago

@dabeeeenster I think that this could be covered by https://github.com/Flagsmith/flagsmith/issues/2387 created by @matthewelwell. I think I have an idea on how to solve both using the native githooks pre-commit hook.