-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eefb165
commit 726eb10
Showing
12 changed files
with
137 additions
and
572 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
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,19 +1,21 @@ | ||
default: fmt check | ||
|
||
lock: | ||
poetry lock | ||
pip-compile --resolver=backtracking -o requirements.txt pyproject.toml | ||
pip-compile --resolver=backtracking --extra dev -o requirements-dev.txt pyproject.toml | ||
|
||
install: | ||
poetry install | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
|
||
fmt: | ||
poetry run ruff --fix ./ruff_lsp ./tests | ||
poetry run black ./ruff_lsp ./tests | ||
ruff --fix ./ruff_lsp ./tests | ||
black ./ruff_lsp ./tests | ||
|
||
check: | ||
poetry run ruff ./ruff_lsp ./tests | ||
poetry run black --check ./ruff_lsp ./tests | ||
poetry run mypy ./ruff_lsp ./tests | ||
ruff ./ruff_lsp ./tests | ||
black --check ./ruff_lsp ./tests | ||
mypy ./ruff_lsp ./tests | ||
|
||
test: | ||
poetry run python -m unittest | ||
python -m unittest |
Oops, something went wrong.