Conversation
Copilot
AI
changed the title
[WIP] Setup Python repository with uv and GitHub actions
Bootstrap testdown as a typed Python library with uv, strict ruff, mypy, pytest, and CI/CD workflows
Feb 28, 2026
ad45545 to
8988c80
Compare
Populate the repository with its initial implementation.
8988c80 to
678f608
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Initializes the
testdownrepository as a properly structured Python library with tooling, type safety, and automated quality gates via GitHub Actions.Project Structure
testdown/__init__.py— package entry pointtests/— pytest test suite with initial smoke testTooling (
pyproject.toml)hatchlingbackend, managed viauvruffwith 30+ rule sets (annotations, bugbear, security, naming, complexity, etc.) — strict enough to serve as an agentic acceptance criterionmypyinstrictmodepytest+pytest-cov, 80% branch coverage requireddftxt>=1.0available astestdown[dftxt]GitHub Actions
pull_request.yml: runsuvx ruff check,uvx ruff format --check,mypy, andpyteston PRs tomain; scoped topermissions: contents: readrelease.yml: triggers onv*.*.*tags, stamps version from tag viauv version, builds wheel + sdist, publishes to PyPI via OIDC trusted publishing (pypa/gh-action-pypi-publish)Misc
uv.lockexcluded from version control (library convention)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.