From 1dcf9ba6123e04f5fc39dbaeb91889c383111a19 Mon Sep 17 00:00:00 2001 From: Alex Verrico Date: Sun, 30 Aug 2026 10:34:02 +1000 Subject: [PATCH 1/2] Move requirements to pyproject.toml - #295 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 5 +++++ requirements.txt | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0ec7f59..6185d6f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: name: Pre-commit Checks uses: ./.github/workflows/pre-commit-run.yml with: - pre-commit-source: -r requirements.txt + pre-commit-source: . test-docs-build-verify: name: Docs Build Verify diff --git a/pyproject.toml b/pyproject.toml index 4980454a..24b60a54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,8 @@ +[project] +dependencies = [ + "pre-commit == 4.6.2" +] + [tool.rumdl] exclude = [".github/*.md"] respect-gitignore = true diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 63656610..00000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -pre-commit == 4.6.2 From 1a3b4bc103bb4f54a661848bac4d6dd667d4e128 Mon Sep 17 00:00:00 2001 From: Alex Verrico Date: Sun, 30 Aug 2026 10:52:58 +1000 Subject: [PATCH 2/2] Further changes for #295 Correct install arguments Add name & version to pyproject.toml Add beeware_.github.egg-info to .gitignore --- .github/workflows/ci.yml | 2 +- .gitignore | 1 + pyproject.toml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6185d6f3..a6a65054 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: name: Pre-commit Checks uses: ./.github/workflows/pre-commit-run.yml with: - pre-commit-source: . + pre-commit-source: -e . test-docs-build-verify: name: Docs Build Verify diff --git a/.gitignore b/.gitignore index 84a511c9..c1a3f874 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ venv .envrc .idea *.pyc +beeware_.github.egg-info \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 24b60a54..4164ae27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,6 @@ [project] +name = "beeware-.github" +version = "2026.8.1" dependencies = [ "pre-commit == 4.6.2" ]