Skip to content

Commit

Permalink
pre-commit: Replace flake8 with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Oct 19, 2024
1 parent 29ef86b commit f616fa3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .flake8

This file was deleted.

5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/pycqa/flake8
rev: 7.1.1
hooks:
- id: flake8

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
hooks:
Expand Down
3 changes: 3 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ target-version = "py39"

[lint]
select = [
"E", # pycodestyle
"F", # Pyflakes + flake8
"I", # isort
"W", # pycodestyle
]

0 comments on commit f616fa3

Please sign in to comment.