From de94ccc197ded597b5b5fc7d2f9e5ddbb8b772d7 Mon Sep 17 00:00:00 2001 From: Alex DeJarnatt Date: Thu, 26 Mar 2026 16:20:52 -0400 Subject: [PATCH 1/2] Add readme, license, authors, and URLs to project metadata --- LICENSE | 21 +++++++++++++++++++++ pyproject.toml | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..83f53b8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Alex DeJarnatt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pyproject.toml b/pyproject.toml index bb2f09e..e9391fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,11 @@ build-backend = "setuptools.build_meta" name = "pytest-cppcheck" version = "0.1.0" description = "A pytest plugin that runs cppcheck static analysis on C/C++ source files" +readme = "README.md" +license = "MIT" +authors = [ + { name = "Alex DeJarnatt", email = "adejarnatt@gmail.com" }, +] requires-python = ">=3.8" dependencies = [ "pytest>=7.0", @@ -17,6 +22,10 @@ classifiers = [ "License :: OSI Approved :: MIT License", ] +[project.urls] +Homepage = "https://github.com/alexdej/pytest-cppcheck" +Repository = "https://github.com/alexdej/pytest-cppcheck" + [project.entry-points."pytest11"] cppcheck = "pytest_cppcheck.plugin" From 4471a96820dbfe5a5e8d1861ba7bf8078b4c8224 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:20:12 +0000 Subject: [PATCH 2/2] Use PEP 621 table form for license field for setuptools>=64 compatibility Agent-Logs-Url: https://github.com/alexdej/pytest-cppcheck/sessions/3fda9afa-764b-4cc4-96b2-6774f884872e Co-authored-by: alexdej <34821+alexdej@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e9391fa..99f733b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pytest-cppcheck" version = "0.1.0" description = "A pytest plugin that runs cppcheck static analysis on C/C++ source files" readme = "README.md" -license = "MIT" +license = {file = "LICENSE"} authors = [ { name = "Alex DeJarnatt", email = "adejarnatt@gmail.com" }, ]