Initial commit: Add git-commit-message-linter project
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-01-29 10:23:44 +00:00
parent 7e0c7ab2d5
commit 44610632bb

60
pyproject.toml Normal file
View File

@@ -0,0 +1,60 @@
[project]
name = "git-commit-message-linter"
version = "1.0.0"
description = "A Python CLI tool that validates git commit messages against configurable patterns"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "Git Commit Message Linter Contributors"}
]
keywords = ["git", "commit", "linter", "conventional-commits", "cli"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.0",
"pyyaml>=6.0",
"regex>=2023.0",
"gitpython>=3.1",
"colorama>=0.4.6",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"flake8>=6.0",
"black>=23.0",
]
[project.scripts]
commit-linter = "commit_linter.cli:main"
[project.urls]
Homepage = "https://github.com/example/git-commit-message-linter"
Repository = "https://github.com/example/git-commit-message-linter"
Issues = "https://github.com/example/git-commit-message-linter/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.black]
line-length = 100
target-version = ['py39']
[tool.flake8]
max-line-length = 100
exclude = ["__pycache__", ".git", "*.egg-info"]