summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddhant Goel <me@sgoel.dev>2021-05-19 21:18:21 +0200
committerSiddhant Goel <me@sgoel.dev>2021-05-19 21:18:21 +0200
commit433f7212be55d746ff9ae992b502e5b753168e23 (patch)
treee927b1f9c4aa7ac9297505d398554fc304cb344a
parentb4d9fd7f2997ee7f8c61e3148d1d6201a1ece77d (diff)
chore: make task for black formatting
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0c4846..da81caa 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,12 @@ lint-flake8:
lint: lint-black lint-flake8
+fmt-black:
+ poetry run black beancount_ing_diba/ tests/
+
# tests
test-pytest:
poetry run py.test tests/
-.PHONY: lint lint-black lint-flake8 test-pytest
+.PHONY: fmt-black lint lint-black lint-flake8 test-pytest