Skip to content

feat: Assorted small improvements#135

Merged
doismellburning merged 6 commits intomainfrom
feat/small-improvements
Apr 8, 2026
Merged

feat: Assorted small improvements#135
doismellburning merged 6 commits intomainfrom
feat/small-improvements

Conversation

@doismellburning
Copy link
Copy Markdown
Owner

@doismellburning doismellburning commented Apr 3, 2026

  • Expand .gitignore to cover common Python artifacts
  • Add RUF, PT, SIM, PERF, LOG to ruff lint rules
  • Add make clean target to remove generated artifacts
  • Add workflow_dispatch trigger and concurrency cancellation to CI
  • Set .DEFAULT_GOAL to check so bare make runs a more useful target
  • Add py.typed marker for PEP 561 type annotation support

doismellburning and others added 2 commits April 3, 2026 16:15
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 3, 2026 15:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes small developer-experience and CI improvements for the Python template project, including expanded ignore rules, stricter Ruff linting, a new make clean target, CI workflow concurrency controls, and shipping a py.typed marker for PEP 561 typing support.

Changes:

  • Expand .gitignore to cover common Python build/venv/cache artifacts.
  • Tighten Ruff lint rules by enabling additional rule families (RUF/PT/SIM/PERF/LOG).
  • Improve automation via make defaults/clean target and CI workflow dispatch + concurrency cancellation.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/python_template/py.typed Adds PEP 561 marker file to the package.
pyproject.toml Enables additional Ruff lint rule families.
Makefile Sets default goal to check and adds clean target.
.gitignore Adds common Python artifact ignores.
.github/workflows/test.yml Adds workflow_dispatch trigger and concurrency cancellation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

doismellburning and others added 4 commits April 7, 2026 22:19
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PEP 561 defines how packages signal they ship inline type annotations.
Without a py.typed marker file, type checkers (mypy, pyright, etc.)
will silently ignore a package's type annotations when it is installed
as a dependency, even if the source contains full type hints.

The marker is an empty file; its presence is the signal. Adding it
declares this package as "typed" so that downstream projects benefit
from type checking against the package's annotations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@doismellburning doismellburning force-pushed the feat/small-improvements branch from 21bf339 to fb5c5a8 Compare April 7, 2026 21:20
@doismellburning doismellburning merged commit 4b60905 into main Apr 8, 2026
5 checks passed
@doismellburning doismellburning deleted the feat/small-improvements branch April 8, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants