mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
ce7e24b924
The entire public api is covered with documentation in two languages - Russian and English. the library now supports the latest three versions of python - 3.12, 3.13 and 3.14 minor design changes: now, when a Boolean flag is entered, its value is an empty string, not None. tests have been adapted to the supported versions of python, readmi has been redesigned in two languages, German is no longer available.
33 lines
800 B
Makefile
33 lines
800 B
Makefile
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
|
|
set shell := ["bash", "-c"]
|
|
|
|
# Вывести список всех рецептов
|
|
default:
|
|
@just --list
|
|
|
|
# Запустить тесты через pytest
|
|
tests:
|
|
python -m pytest tests
|
|
|
|
# Запустить тесты с отчетом о покрытии
|
|
tests-cov:
|
|
python -m pytest --cov=argenta tests
|
|
|
|
# Отформатировать код (Ruff + isort)
|
|
format:
|
|
python -m ruff format ./src
|
|
python -m isort ./src
|
|
|
|
# Проверить типы через mypy (strict)
|
|
mypy:
|
|
python -m mypy -p argenta --strict
|
|
|
|
# Проверить стиль через wemake-python-styleguide
|
|
wps:
|
|
python -m flake8 --format=wemake ./src
|
|
|
|
# Запустить линтер Ruff
|
|
ruff:
|
|
python -m ruff check ./src
|
|
|