Skip to content

Commit

Permalink
makefile command fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
krypticmouse committed May 16, 2024
1 parent 3267dd8 commit feb35aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,26 @@ MKDOCS = mkdocs
# Define targets
.PHONY: all lint type-check test docs clean

all: lint type-check test docs
all: lint fix type-check test

lint:
$(RUFF) check .

fix:
$(RUFF) --fix

type-check:
$(PYRIGHT) .
poetry run $(PYRIGHT)

test:
$(PYTEST) tests/
PYTHONPATH=$PYTHONPATH:. $(PYTEST) tests/

docs:
build-docs:
$(MKDOCS) build

serve-docs:
$(MKDOCS) serve

clean:
rm -rf __pycache__
rm -rf .pytest_cache
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ While Pirate is currently focused on negative mining, the ultimate goal is to ma

## License

Pirate is licensed under the Apache License 2.0. For more details, see the [LICENSE](./LICENSE) file.
Pirate is licensed under the Apache License 2.0. For more details, see the [LICENSE](./LICENSE) file.

0 comments on commit feb35aa

Please sign in to comment.