Raineraineyang.hashnode.dev·Jun 4, 2024PyTA Project: Editing pre-commit hook configurationPre-commit hooks are checkers that automatically fix code style issues before commiting the code. Instead of reporting the style errors to users (like PythonTA), they normally do not display the specific style rules being used and just directly refac...Python
Kilian Klugepragmaticnotes.hashnode.dev·May 5, 2024Running pre-commit in a reusable GitHub Actions workflow with cachingThe pre-commit framework is an awesome utility to enforce coding standards and run sanity checks, such as preventing large files from being committed. It's not just convenient to run locally on the developers' machines. By using pre-commit to run che...246 readsBest PracticesGitHub Actions
Agatha Bahatiagathabahati.hashnode.dev·Jan 1, 2024Code Quality on Autopilot: Demystifying pre-commit HooksMaintaining precise and consistent code formatting standards, commit message conventions and spell checking have all become part of my ritual when I work on projects; they are now practically woven into the fabric of my work. Picture this: you're goi...36 likes·116 readsautomated code checks
Aditya Pachauriadityapachauri.hashnode.dev·Dec 7, 2023Using pre-commit to improve our codeWhat is pre-commit? Git hooks can catch trivial issues like missing semicolons or trailing whitespace before code review, freeing up reviewer time for more in-depth architectural examinations. However, distributing these hooks across projects can be ...1 like·62 readspre-commit
Mounir Messelmeniblog.mounirmesselmeni.de·Oct 15, 2022pre-commit your Django projectsUpdated 08/02/2024: Updated example dependencies, use Ruff instead of flake8 and pylint Pre-commit is a python based tool to enable easy integration of git hooks, and it's supported by plenty of tools like ruff, black, ... While coding a Django proje...1 like·449 readsDjango