-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplified Makefile; used other way to install poetry
- Loading branch information
1 parent
2ba6d0a
commit 3d4d19f
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
.PHONY: all | ||
.PHONY: all check format test | ||
|
||
all: check test | ||
|
||
check: | ||
poetry run python -m ruff check mongomock_motor/ tests/ && \ | ||
poetry run python -m ruff format --check mongomock_motor/ tests/ | ||
poetry run ruff check mongomock_motor tests && \ | ||
poetry run ruff format --check mongomock_motor tests | ||
|
||
format: | ||
poetry run python -m ruff check --fix mongomock_motor/ tests/ && \ | ||
poetry run python -m ruff format mongomock_motor/ tests/ | ||
poetry run ruff check --fix mongomock_motor tests && \ | ||
poetry run ruff format mongomock_motor tests | ||
|
||
test: | ||
poetry run python -m pytest tests/ | ||
poetry run pytest tests |