Skip to content

Commit

Permalink
STY/MNT: pystyle target
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Mar 28, 2022
1 parent 66c7f87 commit cab9bbc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# based on the initial version of this Makefile, anyway, so it's a silly
# chicken-and-egg thing).

.PHONY: pytest jstest test stylecheck style jsstyle demo
.PHONY: pytest jstest test stylecheck style pystyle jsstyle demo

PYTEST_COMMAND = python3 -B -m pytest metagenomescope/tests/ --cov
PYLOCS = metagenomescope/ setup.py
Expand Down Expand Up @@ -49,9 +49,11 @@ style:
prettier --debug-check --tab-width 4 $(JSLOCS) $(HTMLCSSLOCS)
prettier --write --tab-width 4 $(JSLOCS) $(HTMLCSSLOCS)

# Shorthands
pystyle:
black -l 79 $(PYLOCS)

jsstyle:
@# Shorthand, for when I'm developing JS code and don't want to waste time
@# with python/HTML stuff
prettier --write --tab-width 4 $(JSLOCS)

demo:
Expand Down

0 comments on commit cab9bbc

Please sign in to comment.