Skip to content

lfreleng-actions/test-python-project

Repository files navigation

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.

About

Sample Python project used for testing actions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6