-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
I create a pre commit file which will check this ruff, format of the staged code if format require it format the file and stop that commit and also check for prints if a print occur in the staged code it will throw an error and stop the commit.
this is the code for that pre commit
but for run this the system have pre-commit and flake8-print installed.
pip install pre-commit flake8-print
Metadata
Metadata
Assignees
Labels
No labels