Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyagreco committed Nov 27, 2023
1 parent 904f291 commit eece0de
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
black==23.3.0
autoflake==2.1.1
isort==5.12.0

0 comments on commit eece0de

Please sign in to comment.