gitlint
Git commit message linter written in python, checks your commit messages for style.
Decision gist · record as of 2026-08-14
Yes, if you need commit message linting and can accept dormant maintenance. The package is stable, has no known vulnerabilities, and a large user base. The lack of recent updates is a concern only if you need active bug fixes or new features; for enforcing existing commit standards, it works reliably. Consider it if your team values commit hygiene and you're comfortable with a mature, slow-moving tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency.
- Maintenance is dormant—last release was over a year ago and the maintainer is actively seeking co-maintainers, though the repository remains active and the project is marked stable.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute gitlint freely with minimal restrictions.
last release 2023-03-10 (1253 days) · last repo commit 2024-07-11 · 968 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 831,770 downloads/mo, #4,941 on PyPI
Alternatives
Verify before relying
pip install gitlint
# In a git repository, run:
gitlint
# Or lint a specific commit:
gitlint --commit <commit-hash>- Whether the dormant maintenance status affects real-world reliability or if the stable codebase requires minimal updates.
- Whether the search for co-maintainers indicates risk of abandonment or reflects normal open-source dynamics.
What it is and what it does
Gitlint is a Python-based linter for Git commit messages that enforces style conventions at the point of commit. It runs as a command-line tool or Git hook and checks commit messages against a set of configurable rules—catching issues like line length violations, missing subject lines, or improper formatting before they reach your repository.
The package depends only on gitlint-core and supports Python 3.7, 3.8, 3.9, 3.10, and 3.11 on CPython and PyPy. It has been in production use since its early releases and maintains a stable API, though active development has slowed significantly. The tool is designed for teams that want to enforce consistent commit message standards across their codebase.
Use it for
- Enforce consistent commit message formatting across a team to improve repository history readability.
- Prevent commits with empty subjects or excessively long lines from entering the main branch.
- Integrate into CI/CD pipelines to validate commit messages on pull requests or before merge.
- Configure custom rules to match your project's specific commit message conventions.
- Use as a pre-commit Git hook to catch style violations locally before pushing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need commit message linting and can accept dormant maintenance.
The package is stable, has no known vulnerabilities, and a large user base. The lack of recent updates is a concern only if you need active bug fixes or new features; for enforcing existing commit standards, it works reliably. Consider it if your team values commit hygiene and you're comfortable with a mature, slow-moving tool.
Install
gitlint on PyPI
Before you install
Low install friction with a single runtime dependency. Maintenance is dormant—last release was over a year ago and the maintainer is actively seeking co-maintainers, though the repository remains active and the project is marked stable.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute gitlint freely with minimal restrictions.
Quickstart
pip install gitlint
# In a git repository, run:
gitlint
# Or lint a specific commit:
gitlint --commit <commit-hash>
Verify before relying
- Whether the dormant maintenance status affects real-world reliability or if the stable codebase requires minimal updates.
- Whether the search for co-maintainers indicates risk of abandonment or reflects normal open-source dynamics.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegitlint-core |
| Maintenance | Dormant 1,253 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 831,770 / month, #4,941 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing |
Evidence: gitlint-0.19.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “commit message style checker”
- gitlintGitlint is a command-line tool that validates Git commit messages…
- gitlint-coreLints Git commit messages against configurable style rules, checking…
- commitlintLints commit messages against the Conventional Commits standard,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also gitlint-core · PyDriller · yamllint · zizmor · sphinx-lint · salt-lint · taplo · pylint-actions · import-linter · lintrunner