-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate from task to just
- Loading branch information
Showing
6 changed files
with
37 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
default: install lint tests | ||
|
||
install: | ||
uv lock --upgrade | ||
uv sync --all-extras --frozen | ||
|
||
lint: | ||
uv run ruff format . | ||
uv run ruff check . --fix | ||
uv run mypy . | ||
|
||
lint-ci: | ||
uv run ruff format . --check | ||
uv run ruff check . --no-fix | ||
uv run mypy . | ||
|
||
tests *args: | ||
uv run pytest {{ args }} | ||
|
||
publish: | ||
rm -rf dist/* | ||
uv tool run --from build python -m build --installer uv | ||
uv tool run twine check dist/* | ||
uv tool run twine upload dist/* --username __token__ --password $PYPI_TOKEN |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,18 +2,18 @@ | |
`that-depends` is an opensource project, and we are opened to new contributors. | ||
|
||
## Getting started | ||
1. Make sure that you have [poetry](https://python-poetry.org/) and [task](https://taskfile.dev/) installed. | ||
1. Make sure that you have [poetry](https://python-poetry.org/) and [just](https://github.com/vitorbritto/just) installed. | ||
2. Clone project: | ||
``` | ||
[email protected]:modern-python/that-depends.git | ||
cd that-depends | ||
``` | ||
3. Install dependencies running `task install` | ||
3. Install dependencies running `just install` | ||
|
||
## Running linters | ||
`Ruff` and `mypy` are used for static analysis. | ||
|
||
Run all checks by command `task lint` | ||
Run all checks by command `just lint` | ||
|
||
## Running tests | ||
Run all tests by command `task tests` | ||
Run all tests by command `just tests` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.