Skip to content

Commit

Permalink
Replace black with ruff format (iiasa/message_ix#772)
Browse files Browse the repository at this point in the history
- Bump mypy version to 1.8.0.
- Bump ruff version 0.0.287 → 0.1.14.
  • Loading branch information
khaeru committed Jan 29, 2024
1 parent 3d49fdb commit 937c695
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
language: python
entry: bash -c ". ${PRE_COMMIT_MYPY_VENV:-/dev/null}/bin/activate 2>/dev/null; mypy $0 $@"
additional_dependencies:
- mypy
- mypy >= 1.8.0
- genno
- GitPython
- nbclient
Expand All @@ -23,6 +23,8 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.1.14
hooks:
- id: ruff
- id: ruff-format
args: [ --check ]

0 comments on commit 937c695

Please sign in to comment.