Skip to content

Commit

Permalink
Pin ruff (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed May 14, 2024
2 parents f9ad9a9 + cf54b9d commit fc76512
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ updates:
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: weekly
2 changes: 1 addition & 1 deletion .github/workflows/pythontest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
- name: Style checks
run: |
pip install --upgrade ruff
pip install ".[dev]"
python -m ruff check .
python -m ruff format --check .
- name: Typing checks
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ fastimport = ["fastimport"]
https = ["urllib3>=1.24.1"]
pgp = ["gpg"]
paramiko = ["paramiko"]
dev = [
"ruff==0.4.4"
]

[project.scripts]
dulwich = "dulwich.cli:main"
Expand Down

0 comments on commit fc76512

Please sign in to comment.