Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.43 KB

File metadata and controls

54 lines (37 loc) · 2.43 KB

Test Python Project

Linux Foundation Source Code License pre-commit.ci status badge PyPI 🔐 CodeQL OpenSSF Scorecard

testpypi

Example project used for testing Github actions that work with Python code.

Project name: lfreleng-test-python-project

test-python-project

Contains a sample Python project implementing a CLI tool with Typer.

Notes

Steps required to build and work with the project using uv:

# Install dependencies
uv sync --all-extras

# Build the project
uv build

# Run tests
uv run pytest

# Run tests with tox
uv run tox

# Install in development mode
uv pip install -e .

The project uses hatchling with dynamic versioning from VCS tags. Version numbers are automatically generated from git tags.