Skip to content

Commit

Permalink
Upgrade to ruff-format
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-kidger committed Dec 10, 2023
1 parent d43933f commit 7df267e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

repos:
- repo: https://github.com/ambv/black
rev: 23.9.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.291'
hooks:
- id: ruff
args: ["--fix"]
- id: ruff # linter
types_or: [ python, pyi, jupyter ]
args: [ --fix ]
- id: ruff-format # formatter
types_or: [ python, pyi, jupyter ]

0 comments on commit 7df267e

Please sign in to comment.