Skip to content

Commit

Permalink
minor Makefile reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Sep 26, 2023
1 parent ba72e03 commit 320279a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ build: %:
#= TESTING
# see test configuration in setup.cfg

#=> cqa: execute code quality tests
cqa:
flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics
pyright
isort --profile black --check src
black --check src
bandit -ll -r src

#=> test: execute tests
#=> test-code: test code (including embedded doctests)
#=> test-docs: test example code in docs
Expand All @@ -87,15 +79,22 @@ test-%:
tox:
tox

#=> cqa: execute code quality tests
cqa:
flake8 src --show-source --statistics
pyright
isort --check src --profile black
black --check src
bandit -ll -r src

############################################################################
#= UTILITY TARGETS

#=> reformat: reformat code with yapf and commit
#=> reformat: reformat code
.PHONY: reformat
reformat:
pre-commit

############################################################################
#= UTILITY TARGETS

#=> rename: rename files and substitute content for new repo name
.PHONY: rename
rename:
Expand Down

0 comments on commit 320279a

Please sign in to comment.