Skip to content
Merged
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
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ optional-dependencies.dev = [
"check-manifest==0.51",
"deptry==0.25.1",
"doc8==2.0.0",
"doccmd==2026.5.6",
"doccmd==2026.5.16",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ruff per-file-ignores not updated for new directory structure

Medium Severity

The doccmd version bump changes generated file paths to use doccmd_<hash>/ directories, and the pylint per-file-ignores were updated accordingly, but the ruff lint.per-file-ignores patterns at "doccmd_*.py" and "docs/source/*.py" were not. Since * doesn't match path separators, files like doccmd_hash/example.py won't match doccmd_*.py, causing ruff to flag S101 (assert usage) in documentation examples that use assert (confirmed in README.rst and docs/source/index.rst).

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4585e0d. Configure here.

"freezegun==1.5.5",
"furo==2025.12.19",
"interrogate==1.7.0",
Expand Down Expand Up @@ -251,7 +251,9 @@ MASTER.unsafe-load-any-extension = false
"MESSAGES CONTROL".per-file-ignores = [
"docs/source/conf.py:invalid-name",
"docs/source/doccmd_*.py:invalid-name",
"docs/source/doccmd_*/*.py:invalid-name",
"doccmd_README_rst_*.py:invalid-name",
"doccmd_*/*.py:invalid-name",
]
# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
Expand Down
Loading