Skip to content

Fix Python linting errors#147

Merged
knoepfel merged 4 commits intoFramework-R-D:mainfrom
greenc-FNAL:fix-python-linting-errors
Dec 3, 2025
Merged

Fix Python linting errors#147
knoepfel merged 4 commits intoFramework-R-D:mainfrom
greenc-FNAL:fix-python-linting-errors

Conversation

@greenc-FNAL
Copy link
Contributor

  • Resolve Python linting errors
  • docs: Add missing docstrings to Python files
  • fix: Resolve mypy type-checking errors
  • Fix minor ruff check regression from mypy fixes

greenc-FNAL and others added 4 commits December 2, 2025 17:40
- Ignore `D10[0-3]` (missing docstring)
Adds Google-style docstrings to public modules, classes, and functions in the 'scripts/' and 'test/python/' directories to resolve CI errors.
Resolves mypy errors in Python scripts by adding missing type annotations, handling potential `None` values, and correcting import statements.
@knoepfel knoepfel merged commit ffe13bb into Framework-R-D:main Dec 3, 2025
34 checks passed
@greenc-FNAL greenc-FNAL deleted the fix-python-linting-errors branch December 3, 2025 15:20
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