Skip to content

Commit

Permalink
feat: switch from flake8->ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
joel@joellee.org committed Nov 5, 2022
1 parent a923e52 commit 19cdde0
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 81 deletions.
12 changes: 3 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ repos:
"--line-width=88",
]

- repo: https://github.com/myint/autoflake.git
rev: v1.4
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.100
hooks:
- id: autoflake
args:
[
"--in-place",
"--remove-all-unused-imports",
"--ignore-init-module-imports",
]
- id: ruff

- repo: https://github.com/ambv/black
rev: 22.6.0
Expand Down

0 comments on commit 19cdde0

Please sign in to comment.