Skip to content

Commit

Permalink
Migrated to using ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeTravelPenguin committed Jan 22, 2024
1 parent a8b7499 commit 627fa77
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 334 deletions.
22 changes: 0 additions & 22 deletions .flake8

This file was deleted.

28 changes: 5 additions & 23 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,37 +80,19 @@ repos:
- -r
- src

- repo: https://github.com/psf/black
rev: 23.12.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
hooks:
- id: black
args: [--safe]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black"]

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
name: flake8 (python)
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies: [rich >= 13.7.0, rich-argparse >= 1.4.0]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py311-plus]

- repo: https://github.com/python-poetry/poetry
rev: 1.7.0
hooks:
Expand Down
Loading

0 comments on commit 627fa77

Please sign in to comment.