Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ matching reference material.
- Root `conftest.py` remains type-checked while the temporary docs-extension [mypy](https://mypy-lang.org/) path excludes only the extension-local `docs/_ext/conftest.py` case that caused duplicate module discovery (#46).
- The docs dependency pins track gp-sphinx through `0.0.1a17`, including the `exclude-newer` whitelist needed for the git-pull package family during coordinated pre-release work (#55).
- Workflow actions moved to their current major releases: `actions/checkout` v7, `actions/cache` v6, `astral-sh/setup-uv` v9.0.0, `codecov/codecov-action` v7, and `dorny/paths-filter` v4. Workflow behavior is unchanged, though setup-uv no longer prunes the uv cache, so the first run after this repopulates it.
- Minimum `ruff>=0.16.0` (was unpinned), so contributors and CI share the same lint diagnostics and the [ruff 0.16](https://astral.sh/blog/ruff-v0.16.0) formatting of Python code blocks inside Markdown (#63).
- Linting runs on ruff's curated default rule set with this project's linters layered on top through `extend-select` instead of replacing it, so the default pylint, flake8-bandit, and flake8-pyi checks now apply; `docs/conf.py` carries a scoped ignore for the `exec` that reads the package's metadata module (#63).

## g 0.0.9 (2026-01-24)

Expand Down
17 changes: 13 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dev = [
"coverage",
"pytest-cov",
# Lint
"ruff",
"ruff>=0.16.0",
"mypy",
# Type stubs
"types-docutils",
Expand Down Expand Up @@ -104,7 +104,7 @@ coverage =[
"pytest-cov",
]
lint = [
"ruff",
"ruff>=0.16.0",
"mypy",
]

Expand Down Expand Up @@ -151,7 +151,10 @@ files = [
target-version = "py310"

[tool.ruff.lint]
select = [
# `select` is deliberately unset: ruff 0.16 enables a curated default rule
# set, and an explicit `select` would replace it rather than extend it.
# `extend-select` layers this project's additional linters on top.
extend-select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
Expand All @@ -168,7 +171,7 @@ select = [
"PERF", # Perflint
"RUF", # Ruff-specific rules
"D", # pydocstyle
"FA100", # future annotations
"FA100", # flake8-future-annotations
]
ignore = [
"COM812", # missing trailing comma, ruff format conflict
Expand All @@ -193,6 +196,12 @@ required-imports = [

[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = ["F401"]
"docs/conf.py" = [
# Sphinx collects the project's title, copyright, and URLs by exec'ing the
# package's `__about__.py` into a dict; `g/__init__.py` re-exports only
# `__version__`. The input is a tracked file here, not user data.
"S102",
]

[tool.pytest.ini_options]
addopts = "--tb=short --no-header --showlocals --doctest-modules"
Expand Down
46 changes: 23 additions & 23 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading