chore: remove `reorder-python-imports`

This commit is contained in:
NiceAesth 2024-02-10 03:11:03 +02:00
parent b3795102b8
commit 0d7bfb427f
2 changed files with 27 additions and 26 deletions

View File

@ -11,7 +11,7 @@ repos:
- id: requirements-txt-fixer - id: requirements-txt-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 23.10.1 rev: 24.1.1
hooks: hooks:
- id: black - id: black
language_version: python3.11 language_version: python3.11
@ -20,16 +20,16 @@ repos:
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus, --keep-runtime-typing] args: [--py37-plus, --keep-runtime-typing]
- repo: https://github.com/asottile/reorder-python-imports - repo: https://github.com/pycqa/isort
rev: v3.12.0 rev: 5.13.2
hooks: hooks:
- id: reorder-python-imports - id: isort
- repo: https://github.com/asottile/add-trailing-comma - repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0 rev: v3.1.0
hooks: hooks:
- id: add-trailing-comma - id: add-trailing-comma
- repo: https://github.com/hadialqattan/pycln - repo: https://github.com/hadialqattan/pycln
rev: v2.3.0 rev: v2.4.0
hooks: hooks:
- id: pycln - id: pycln

View File

@ -1,8 +1,5 @@
[build-system] [build-system]
requires = [ requires = ["setuptools>=42", "wheel"]
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.black] [tool.black]
@ -17,3 +14,7 @@ no_implicit_optional = true
check_untyped_defs = true check_untyped_defs = true
warn_unused_ignores = true warn_unused_ignores = true
show_error_codes = true show_error_codes = true
[tool.isort]
force_single_line = true
profile = "black"