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

@ -1,7 +1,7 @@
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 rev: v4.5.0
hooks: hooks:
- id: check-ast - id: check-ast
@ -10,26 +10,26 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- 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
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.15.0 rev: v3.15.0
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"