Files
git-commit-message-linter/pyproject.toml
7000pctAUTO 44610632bb
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled
Initial commit: Add git-commit-message-linter project
2026-01-29 10:23:44 +00:00

61 lines
1.5 KiB
TOML

[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"]