Skip to content

Feature 584 enhance code linting application test#694

Draft
nesnoj wants to merge 10 commits intodevelopfrom
feature-584-enhance-code-linting-application-test
Draft

Feature 584 enhance code linting application test#694
nesnoj wants to merge 10 commits intodevelopfrom
feature-584-enhance-code-linting-application-test

Conversation

@nesnoj
Copy link
Copy Markdown
Collaborator

@nesnoj nesnoj commented Dec 15, 2025

This PR is to show the changes with new linting in #671.

Details:

  1. A bunch of errors have been auto-fixed
  2. Errors that need to be fixed manually. Summary:
1. check-yaml (1 Fehler)
- mkdocs.yml:68 - YAML-Parser-Problem mit Material Emoji Extension

2. ruff (360 verbleibende Fehler)
- Hauptsächlich fehlende Docstrings (D100, D104, D205)
- Code-Qualität (zu lange Zeilen E501, ungenutzte Imports F401)

3. mypy (26 Type-Checking-Fehler in 5 Dateien)
- utils_download_bulk.py:84 - Type mismatch (str vs int)
- helpers.py - Fehlende Type Stubs für dateutil, Optional-Probleme
- mirror.py:1047 - Fehlende Type Annotation
- utils_write_to_database.py - Mehrere Type-Probleme
- mastr.py:316 - Optional-Parameter-Probleme

Note that due to 2. the tests (which now include the pre-commit) in this PR will fail.

nesnoj added 10 commits October 21, 2025 17:49
- Consolidate linting with ruff, replaces black and extents linting
- Additional file checks (case-conflict, docstring-first, mixed-line-ending)
- Configure global excludes for build artifacts and cache directories
- Enable ruff docstring checking with numpy convention
Ensures consistent checking locally and on GH
@nesnoj nesnoj added the 💥 testing Add, change or delete tests label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💥 testing Add, change or delete tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant