Skip to content

Commit

Permalink
feat: switch the lint to ruff (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
allisson authored Apr 1, 2024
1 parent 0392925 commit 1997a29
Show file tree
Hide file tree
Showing 6 changed files with 397 additions and 405 deletions.
20 changes: 4 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,8 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/pycqa/isort
rev: 5.12.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
hooks:
- id: isort
args: ["--overwrite-in-place"]

- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
args: ["--line-length=110"]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
args: ["--max-line-length=110", "--ignore=E203,E501,W503"]
- id: ruff
- id: ruff-format
Loading

0 comments on commit 1997a29

Please sign in to comment.