From eece0dec95d16edfdc365cc498d9d1a641b1eb06 Mon Sep 17 00:00:00 2001 From: joeyagreco Date: Mon, 27 Nov 2023 09:59:26 -0600 Subject: [PATCH] foo --- Makefile | 24 ++++++++++++++++++++++++ requirements.dev.txt | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 Makefile create mode 100644 requirements.dev.txt diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4bcb6ac --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +.PHONY: deps +deps: + @python3 -m pip install -r requirements.dev.txt + @python3 -m pip install -r requirements.txt + +.PHONY: fmt +fmt: + @black --config=pyproject.toml . + @autoflake --config=pyproject.toml . + @isort . + +.PHONY: fmt-check +fmt-check: + @black --config=pyproject.toml --check . + @autoflake --config=pyproject.toml --check . + @isort --check-only . + +.PHONY: test +test: + @pytest test/ + +.PHONY: up-reqs +up-reqs: + @pipreqs --force diff --git a/requirements.dev.txt b/requirements.dev.txt new file mode 100644 index 0000000..a85c907 --- /dev/null +++ b/requirements.dev.txt @@ -0,0 +1,3 @@ +black==23.3.0 +autoflake==2.1.1 +isort==5.12.0 \ No newline at end of file