[build-system] requires = ["hatchling", "hatch-vcs"] build-backend = "hatchling.build" [project] name = "gitlint-core" dynamic = ["version", "urls"] description = "Git commit message linter written in python, checks your commit messages for style." readme = "README.md" license = "MIT" requires-python = ">=3.7" authors = [{ name = "Joris Roovers" }] keywords = [ "git", "gitlint", "lint", # ] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", ] dependencies = [ "arrow>=1", "Click>=8", "importlib-metadata >= 1.0 ; python_version < \"3.8\"", "sh>=1.13.0 ; sys_platform != \"win32\"", ] [project.optional-dependencies] trusted-deps = [ "arrow==1.2.3", "Click==8.1.3", "sh==1.14.3 ; sys_platform != \"win32\"", ] [project.scripts] gitlint = "gitlint.cli:cli" [tool.hatch.version] source = "vcs" raw-options = { root = ".." } [tool.hatch.build] include = [ "/gitlint", # ] exclude = [ "/gitlint/tests", # ] [tool.hatch.metadata.hooks.vcs.urls] Homepage = "https://jorisroovers.github.io/gitlint" Documentation = "https://jorisroovers.github.io/gitlint" Source = "https://github.com/jorisroovers/gitlint/tree/main/gitlint-core" Changelog = "https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md" # TODO(jorisroovers): Temporary disable until fixed in hatch-vcs (see #460) # 'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}/gitlint-core"