From: Sebastián Ramírez Date: Tue, 24 Aug 2021 13:37:51 +0000 (+0200) Subject: 📝 Remove double format-imports script, as autoflake can handle it alone now X-Git-Tag: 0.0.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843ba7f281f27e3b09215729a296fdb1c01744db;p=thirdparty%2Ffastapi%2Fsqlmodel.git 📝 Remove double format-imports script, as autoflake can handle it alone now --- diff --git a/docs/contributing.md b/docs/contributing.md index 53390986..2cfa5331 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -66,20 +66,6 @@ $ bash scripts/format.sh It will also auto-sort all your imports. -### Format imports - -There is another script that formats all the imports and makes sure you don't have unused imports: - -
- -```console -$ bash scripts/format-imports.sh -``` - -
- -As it runs one command after the other and modifies and reverts many files, it takes a bit longer to run, so it might be easier to use `scripts/format.sh` frequently and `scripts/format-imports.sh` only before committing. - ## Docs The documentation uses MkDocs with Material for MkDocs.