|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=45", "setuptools-scm", "clang-tools>=0.2.2"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "cpp_linter_hooks" |
| 7 | +description = "Automatically check c/c++ with clang-format and clang-tidy" |
| 8 | +readme = "README.md" |
| 9 | +keywords = ["clang", "clang-format", "clang-tidy", "pre-commit", "pre-commit-hooks"] |
| 10 | +license = {text = "MIT License"} |
| 11 | +authors = [ |
| 12 | + { name = "Peter Shen", email = "[email protected]" }, |
| 13 | +] |
| 14 | +classifiers = [ |
| 15 | + # https://pypi.org/pypi?%3Aaction=list_classifiers |
| 16 | + "Development Status :: 4 - Beta", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "Intended Audience :: System Administrators", |
| 19 | + "Intended Audience :: Information Technology", |
| 20 | + "Natural Language :: English", |
| 21 | + "Operating System :: Microsoft :: Windows", |
| 22 | + "Operating System :: POSIX :: Linux", |
| 23 | + "Operating System :: MacOS", |
| 24 | + "Programming Language :: Python :: 3", |
| 25 | + "Topic :: Software Development :: Build Tools", |
| 26 | +] |
| 27 | +dynamic = ["version"] |
| 28 | + |
| 29 | +[project.scripts] |
| 30 | +clang-format-hook = "cpp_linter_hooks.clang_format:main" |
| 31 | +clang-tidy-hook = "cpp_linter_hooks.clang_tidy:main" |
| 32 | + |
| 33 | +[project.urls] |
| 34 | +source = "https://github.com/cpp-linter/cpp-linter-hooks" |
| 35 | +tracker = "https://github.com/cpp-linter/cpp-linter-hooks/issues" |
| 36 | + |
| 37 | +# ... other project metadata fields as specified in: |
| 38 | +# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ |
| 39 | + |
| 40 | +[tool.setuptools] |
| 41 | +zip-safe = false |
| 42 | +packages = ["cpp_linter_hooks"] |
| 43 | + |
| 44 | +[tool.setuptools_scm] |
| 45 | +# It would be nice to include the commit hash in the version, but that |
| 46 | +# can't be done in a PEP 440-compatible way. |
| 47 | +version_scheme= "no-guess-dev" |
| 48 | +# Test PyPI does not support local versions. |
| 49 | +local_scheme = "no-local-version" |
| 50 | +fallback_version = "0.0.0" |
| 51 | + |
| 52 | +[tool.mypy] |
| 53 | +show_error_codes = true |
| 54 | +show_column_numbers = true |
0 commit comments