Skip to content

Commit

Permalink
Install ruff from pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed May 5, 2024
1 parent bcc451f commit 13f8538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Style checks
run: |
pip install -U ruff
pip install -U ".[dev]"
python -m ruff check .
- name: Test suite run
run: |
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ content-type = "text/x-rst"
Homepage = "https://www.breezy-vcs.org/"
GitHub = "https://github.com/breezy-team/merge3"

[project.optional-dependencies]
"dev" = [
"ruff==0.4.3"
]

[tool.setuptools]
packages = ["merge3"]
include-package-data = false
Expand Down

0 comments on commit 13f8538

Please sign in to comment.