-
Notifications
You must be signed in to change notification settings - Fork 191
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
Showing
4 changed files
with
185 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
install: | ||
poetry install | ||
uv sync | ||
|
||
test: | ||
poetry run pytest | ||
uv run pytest | ||
|
||
test-coverage: | ||
poetry run pytest --cov=hexlet_python_package --cov-report xml | ||
uv run pytest --cov=hexlet_python_package --cov-report xml | ||
|
||
lint: | ||
poetry run flake8 hexlet_python_package | ||
uv run ruff check | ||
|
||
selfcheck: | ||
poetry check | ||
check: test lint | ||
|
||
check: selfcheck test lint | ||
|
||
build: check | ||
poetry build | ||
build: | ||
uv build | ||
|
||
.PHONY: install test lint selfcheck check build |
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,21 +1,19 @@ | ||
[tool.poetry] | ||
name = "hexlet-python-package" | ||
version = "0.3.0" | ||
description = "" | ||
authors = ["skip"] | ||
[project] | ||
authors = [ | ||
{name = "Hexlet team", email = "team@hexlet.io"}, | ||
] | ||
requires-python = "<4.0,>=3.12" | ||
name = "python-example-app" | ||
version = "0.1.0" | ||
description = "Example application" | ||
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8.1,<4.0" | ||
[tool.uv] | ||
dev-dependencies = [ | ||
"ruff>=0.7.1", | ||
"pytest>=8.3.3", | ||
"pytest-cov>=5.0.0", | ||
] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.4.2" | ||
pytest-cov = "^4.1.0" | ||
flake8 = "^6.1.0" | ||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
hexlet-python-package = "hexlet_python_package.scripts.hexlet_python_package:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
Oops, something went wrong.