autohooks
lint-action
autohooks | lint-action | |
---|---|---|
2 | 1 | |
184 | 542 | |
1.1% | 1.7% | |
8.7 | 3.0 | |
8 days ago | 29 days ago | |
Python | JavaScript | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
autohooks
-
Tool and library for managing git hooks: autohooks
Hi, I would like to introduce my pet project called autohooks. autohooks is a simple tool for managing git hooks. Currently it just supports `pre-commit` hook because that's what most people are interested in. But its infrastructure and code can easily be extend to support the other hooks like `commit-msg`. With the latest release it could a nice progress bar based on rich.
-
Automate code formatting in Python
Autohooks is a Python package for managing these hooks via Python. It has a plugin system that enables integration with tools like Black. Let’s install both Autohooks and the Black-integration plugin.
lint-action
-
Automate code formatting in Python
This workflow uses the same two steps as the previous one, that is checking out the repo and setting up Python. Then we install Pipenv and use that to install Black on the system. The lint-action action runs Black and then commits the changed files. This creates a new commit with the same changes that Black had shown in the diff!
What are some alternatives?
megalinter - 🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
action-electron-builder - :electron: GitHub Action for building and releasing Electron apps
test_repo_python_windows_ci - Custom GitHub workflow file using windows base image to run continuous integration and testing on a python repo.
very_good_coverage - GitHub Action which helps enforce code coverage threshold using lcov created by Very Good Ventures 🦄
netlint - Perform static analysis on network configuration files.
cfn-lint-action - GitHub Action for interacting with CloudFormation Linter
exception-control - Perform limited static analysis for uncaught exceptions in a Python file.
github-activity-readme - Updates README with the recent GitHub activity of a user
megalinter - 🦙 Mega-Linter analyzes 49 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally. [Moved to: https://github.com/oxsecurity/megalinter]
vue-cleave-component - Vue.js component for Cleave.js input mask library :keyboard:
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
black - The uncompromising Python code formatter