Skip to content

Commit

Permalink
use ruff instead of isort
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Mar 17, 2023
1 parent da9ee7b commit 184334e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: black
if: always()
run: black --check .
- name: isort
if: always()
run: isort --check-only .
- name: ruff
if: always()
run: ruff .
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ repos:
hooks:
- id: black

- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.238
hooks:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ disable = [
[tool.ruff]
line-length = 90

select = ["E", "F", "D", "N", "C"] #, "ANN"]
select = ["E", "F", "D", "N", "C", "I"] #, "ANN"]
extend-ignore = [
"D213", "D203",
"D401",
Expand Down

0 comments on commit 184334e

Please sign in to comment.