From 7031e9aec2e50e8d97969be8251afa6dfb8fde4e Mon Sep 17 00:00:00 2001 From: Phillip Shiu Date: Thu, 9 Jun 2022 09:28:39 -0400 Subject: [PATCH] fix: remove deprecated switch from isort The --recursive or --rc flag in isort is now run by default as of isort 5.0 and generates the following warning if still present: lib/python3.8/site-packages/isort/main.py:: UserWarning: W0501: The following deprecated CLI flags were used and ignored: -rc! Squash warning. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index add58e55..a6d9b50d 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ coverage: clean $(BROWSER) htmlcov/index.html isort_check: ## check that isort has been run - isort --check-only --diff -rc commerce_coordinator/ + isort --check-only --diff commerce_coordinator/ isort: ## run isort to sort imports in all Python files isort --recursive --atomic commerce_coordinator/