Top 12 Python pre-commit Projects
A framework for managing and maintaining multi-language pre-commit hooks.Project mention: Validating cloudFormation templates | reddit.com/r/devops | 2022-08-07
Some out-of-the-box hooks for pre-commitProject mention: Gitlab CI with docker compose | dev.to | 2022-08-06
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.3.0 hooks: - id: check-yaml args: ["--allow-multiple-documents"] - repo: local hooks: - id: forbidden-files name: forbidden files entry: found copier update rejection files; review them and remove them language: fail files: "\\.rej$" - id: black name: black entry: poetry run black language: system types: [python] - id: flake8 name: flake8 entry: poetry run flake8 language: system types: [python] - id: isort name: isort entry: poetry run isort --settings-path=. language: system types: [python] - id: pyupgrade name: pyupgrade entry: poetry run pyupgrade language: system types: [python] args: [--py310-plus] - id: mypy name: mypy description: Check python types. entry: poetry run mypy language: system types: [python]
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
Rewrites source to reorder python importsProject mention: Should I follow the warnings in Pycharm? Does anyone do this? | reddit.com/r/learnpython | 2022-07-18
Generic template to bootstrap your PyTorch project.Project mention: What libs/boiler plate/platforms do you use to abstract and optimize your workflow when starting a new project? [D] | reddit.com/r/MachineLearning | 2022-05-22
If I was starting a new project, I’d like to try using this cookiecutter template: https://github.com/grok-ai/nn-template
Library for managing git hooksProject mention: Tool and library for managing git hooks: autohooks | reddit.com/r/Python | 2022-08-02
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.
Git hook for adding Jira issues and stories to commit body
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Pre-commit hook for upgrading type hints
flake8 plugin which checks that typing imports are properly guarded
A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
Git hooks for python 📌 (by nyanye)Project mention: pushpin - Git hooks for python 📌 | reddit.com/r/Python | 2022-06-10
pre-commit hook: make sure your package doesn't refer to different versions of itself across the codebase ✅ (by jalvaradosegura)Project mention: Don't forget to update that value in those files | dev.to | 2022-01-25
# .pre-commit-config.yaml repos: - repo: https://github.com/jalvaradosegura/version-checker rev: v0.4.1-alpha hooks: - id: version-checker args: [ --files, README.md, src/__init__.py, --grab-version-from, setup.cfg ]
Python pre-commit related posts
Validating cloudFormation templates
2 projects | reddit.com/r/devops | 7 Aug 2022
Gitlab CI with docker compose
2 projects | dev.to | 6 Aug 2022
Disable a direct push to GitHub main branch
1 project | dev.to | 3 Aug 2022
It’s Time to Say Goodbye to These Obsolete Python Libraries
1 project | news.ycombinator.com | 26 Jul 2022
Is there a linter which would suggest using elif rather than an else in an if clause?
2 projects | reddit.com/r/Python | 20 Jul 2022
Should I follow the warnings in Pycharm? Does anyone do this?
6 projects | reddit.com/r/learnpython | 18 Jul 2022
I have found that one of the biggest quality of life improvements when writing software is tightening feedback loops. What are your favorite ways to get feedback faster?
1 project | reddit.com/r/ExperiencedDevs | 7 Jul 2022
What are some of the best open-source pre-commit projects in Python? This list will help you:
Are you hiring? Post a new remote job listing for free.