Skip to content

Commit

Permalink
Replace Black and isort with Ruff-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Dec 11, 2023
1 parent 65101aa commit 6a00ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
14 changes: 2 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,11 @@ repos:
- id: fix-future-annotations

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]

- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ exclude = '''
)/
'''

[tool.isort]
profile = "black"

[tool.mypy]
files = ["codicefiscale"]
ignore_missing_imports = true
Expand Down

0 comments on commit 6a00ca4

Please sign in to comment.