🔥 Remove isort configuration, since we use Ruff now (#1144)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Patrick Arminio
2024-04-05 21:59:40 +02:00
committed by GitHub
parent 1538530349
commit e9b2f9f480
8 changed files with 23 additions and 26 deletions

View File

@@ -1,6 +0,0 @@
#!/bin/sh -e
set -x
# Sort imports one per line, so autoflake can remove unused imports
isort --recursive --force-single-line-imports --apply app
sh ./scripts/format.sh

View File

@@ -1,6 +1,5 @@
#!/bin/sh -e
set -x
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place app --exclude=__init__.py
black app
isort --recursive --apply app
ruff check app scripts --fix
ruff format app scripts

View File

@@ -4,5 +4,5 @@ set -e
set -x
mypy app
ruff app
ruff check app
ruff format app --check