From 5c94aa004e6febf312906fffbcef58349778b4aa Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 4 Oct 2021 14:58:29 +0100 Subject: [PATCH] Remove deprecated command line flag to isort MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > Prior to version 5.0.0, isort wouldn't automatically traverse directories. The --recursive option was necessary to tell it to do so. In 5.0.0 directories are automatically traversed for all Python files, and as such this option is no longer necessary and should simply be removed. — https://github.com/PyCQA/isort/blob/main/docs/upgrade_guides/5.0.0.md#--recursive-or--rc *** We moved to version `> 5.0.0` of isort in March 2021: https://github.com/alphagov/notifications-admin/pull/3828/files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 484f78867..52ae346b4 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ test: ## Run tests .PHONY: fix-imports fix-imports: ## Fix imports using isort - isort -rc ./app ./tests + isort ./app ./tests .PHONY: freeze-requirements freeze-requirements: ## create static requirements.txt