diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87158a7..dcf6f85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: name: Pre-commit checks uses: beeware/.github/.github/workflows/pre-commit-run.yml@main with: - pre-commit-source: --group dev + pre-commit-source: --group pre-commit unit-tests: name: Unit tests @@ -42,7 +42,7 @@ jobs: run: python -m pip install -U pip - name: Install Dependencies - run: python -m pip install --group dev + run: python -m pip install --group tox - name: Test with tox run: tox diff --git a/pyproject.toml b/pyproject.toml index d8c3b0e..5e413ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,22 @@ [dependency-groups] +briefcase = [ + "briefcase @ git+https://github.com/beeware/briefcase", # provides cookiecutter +] +pre-commit = [ + "pre-commit == 4.6.0", +] +tox = [ + "tox == 4.54.0", +] test = [ "pytest == 9.0.3", "toml == 0.10.2", "flake8 == 7.3.0", - "briefcase @ git+https://github.com/beeware/briefcase.git", + {include-group = "briefcase"}, ] dev = [ - "tox == 4.54.0", - "pre-commit == 4.6.0", - "black == 26.5.1", + {include-group = "briefcase"}, + {include-group = "pre-commit"}, + {include-group = "tox"}, + {include-group = "test"}, ]