Skip to content

Commit

Permalink
chore: replace isort by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Jun 28, 2023
1 parent 84cc814 commit 22f3fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ repos:
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort.git
rev: "5.8.0"
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
hooks:
- id: mypy
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.100
rev: v0.0.275
hooks:
- id: ruff
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ dependencies = ["cffi ~= 1.15.1", "pytest>=3.8"]
dev = [
"hatchling ~= 1.11.1",
"black ~= 22.3.0",
"isort ~=5.8.0",
"flake8 ~= 5.0.4",
"mypy ~= 0.961",
"ruff ~= 0.0.275",
"pytest ~= 7.0",
"pytest-cov ~= 4.0.0",
"ruff ~= 0.0.100",
]
compatibility = ["pytest-benchmarks ~= 3.4.1"]

Expand All @@ -59,6 +57,7 @@ include = ["/src"]

[tool.ruff]
line-length = 88
select = ["E", "F", "I", "C"]

[tool.isort]
line_length = 88
Expand Down

0 comments on commit 22f3fad

Please # to comment.