Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 2.09 KB

README.md

File metadata and controls

58 lines (38 loc) · 2.09 KB

python-package

Github Actions Status

Links

This project was built using these tools:

Tool Description
mise "The front-end to your dev env"
uv "An extremely fast Python package and project manager, written in Rust"
Pytest "A mature full-featured Python testing tool"
ruff "An extremely fast Python linter and code formatter, written in Rust"
ty "An extremely fast Python type checker and language server, written in Rust"

Requirements

mise installs Python, uv, ruff and ty from mise.toml:

mise install

Setup

make install

make install also installs the git hooks: hk runs the checks before a commit and the tests before a push.

Examples

uv run hexlet-python-package 5

2.5

Run tests

make test

Lint

make lint      # ruff check, ruff format --check, ty check
make lint-fix  # ruff check --fix, ruff format

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.