From 68a458f4a12a1ecf6d9b730fb327a40e2bc50d9c Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 12 May 2025 15:46:22 -0400 Subject: [PATCH 1/2] chore: fixup nox, license metadata Signed-off-by: William Woodruff --- noxfile.py | 5 ++--- pyproject.toml | 8 +++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/noxfile.py b/noxfile.py index d2ec8f70..ac6ee65a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -17,15 +17,14 @@ nox.options.sessions = ["lint"] # Define the minimal nox version required to run -nox.options.needs_version = ">= 2024.3.2" +nox.needs_version = ">= 2024.3.2" @nox.session def lint(session): session.install("flake8") session.run( - "flake8", "--exclude", ".nox,*.egg,build,data", - "--select", "E,W,F", "." + "flake8", "--exclude", ".nox,*.egg,build,data", "--select", "E,W,F", "." ) diff --git a/pyproject.toml b/pyproject.toml index d97bdabb..c955dba2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ name = "sampleproject" # REQUIRED, is the only field that cannot be marked as dy # # For a discussion on single-sourcing the version, see # https://packaging.python.org/guides/single-sourcing-package-version/ -version = "4.0.0" # REQUIRED, although can be dynamic +version = "4.0.1" # REQUIRED, although can be dynamic # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: @@ -59,7 +59,8 @@ requires-python = ">=3.9" # This is either text indicating the license for the distribution, or a file # that contains the license. # https://packaging.python.org/en/latest/specifications/core-metadata/#license -license = { file = "LICENSE.txt" } +license-files = ["LICENSE.txt"] +license = "MIT" # This field adds keywords for your project which will appear on the # project page. What does your project relate to? @@ -95,9 +96,6 @@ classifiers = [ "Intended Audience :: Developers", "Topic :: Software Development :: Build Tools", - # Pick your license as you wish - "License :: OSI Approved :: MIT License", - # Specify the Python versions you support here. In particular, ensure # that you indicate you support Python 3. These classifiers are *not* # checked by "pip install". See instead "requires-python" key in this file. From 28c9701e40e76ce9f8d54eba212d49d888c82953 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 12 May 2025 15:55:31 -0400 Subject: [PATCH 2/2] fix lint Signed-off-by: William Woodruff --- noxfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index ac6ee65a..57fa4e24 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,7 +24,8 @@ def lint(session): session.install("flake8") session.run( - "flake8", "--exclude", ".nox,*.egg,build,data", "--select", "E,W,F", "." + "flake8", "--exclude", ".nox,*.egg,build,data", + "--select", "E,W,F", "." )