Copy necessary stuff from diamond repo and adjust dates

This commit is contained in:
2026-07-31 15:43:36 +02:00
commit df17c15d2f
6 changed files with 317 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "diff-quality-basedpyright"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
description = "A plugin to allow diff_cover to use Pyright for quality checks."
dependencies = [
"basedpyright",
"diff-cover"
]
dynamic = ["version"]
license.file = "LICENSE"
readme = "README.md"
requires-python = ">=3.11"
[project.entry-points."diff_cover"]
basedpyright = "diff_quality_basedpyright.plugin"
[[project.authors]] # Further authors may be added by duplicating this section
email = "david.perl@psi.ch"
name = "David Perl"
[tool.setuptools_scm]
write_to = "src/diff_quality_basedpyright/_version.py"
[tool.pytest.ini_options]
# Run pytest with all our checkers, and don't spam us with massive tracebacks on error
addopts = """
--tb=native -vv --doctest-modules --doctest-glob="*.rst"
"""