Skip to content

Commit

Permalink
Extend GitHub pre-commit action
Browse files Browse the repository at this point in the history
This change needs to remove the (invalid) `project` section from `pyproject.toml` to succeed.

Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Mar 18, 2024
1 parent d12f9ea commit 3cc8640
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
cache: 'pip'
- run: python -m pip install .[tests]
- uses: pre-commit/[email protected]
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
requires = [ "setuptools", "wheel" ]
build-backend = "setuptools.build_meta"

[project]
requires-python = ">=3.9"

[tool.pytest.ini_options]
pythonpath = [ "src" ]

0 comments on commit 3cc8640

Please sign in to comment.