From 29bc7136e5e5762d5e46346633c527f0b8c80625 Mon Sep 17 00:00:00 2001 From: budzianowski Date: Tue, 4 Jun 2024 09:55:49 -0700 Subject: [PATCH] add isort --- Makefile | 2 ++ sim/requirements-dev.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index d82903ac..6f99fd30 100755 --- a/Makefile +++ b/Makefile @@ -76,6 +76,7 @@ clean: # ------------------------ # format: + @isort --profile black sim @black sim @ruff format sim .PHONY: format @@ -86,6 +87,7 @@ format-cpp: .PHONY: format-cpp static-checks: + @isort --profile black --check --diff sim @black --diff --check sim @ruff check sim @mypy --install-types --non-interactive sim diff --git a/sim/requirements-dev.txt b/sim/requirements-dev.txt index e36b6486..ea9ccc86 100644 --- a/sim/requirements-dev.txt +++ b/sim/requirements-dev.txt @@ -5,3 +5,4 @@ darglint mypy pytest ruff +isort \ No newline at end of file