Skip to content

Commit

Permalink
Install ruff from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed May 5, 2024
1 parent 5210cb4 commit 663fbb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip mypy "cython>=0.29"
pip install -U pip flake8 setuptools
python -m pip install --upgrade pip mypy "cython>=0.29" setuptools
pip install -U pip ".[dev]"
- name: Style checks
run: python -m flake8
run: python -m ruff check .
- name: Typing checks
run: python -m mypy patiencediff
- name: Build
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ line-length = 79

[tool.ruff.pydocstyle]
convention = "google"

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

0 comments on commit 663fbb0

Please sign in to comment.