Skip to content

chore: consolidate tooling configuration and fix flake8 issues#41

Merged
Exonymos merged 4 commits intomainfrom
feature/tooling-adaptation
Mar 26, 2026
Merged

chore: consolidate tooling configuration and fix flake8 issues#41
Exonymos merged 4 commits intomainfrom
feature/tooling-adaptation

Conversation

@Exonymos
Copy link
Copy Markdown
Owner

Summary

This PR improves and consolidates project tooling configuration while addressing existing linting issues.

Changes

  • Consolidated pytest and coverage configuration into pyproject.toml

    • Removed legacy .coveragerc and pytest.ini
    • Improved coverage reporting setup
  • Refined .flake8 configuration

    • Switched from ignore to extend-ignore
    • Cleaned up comments and removed unnecessary ignored rules
  • Fixed flake8 errors and warnings across the codebase

    • Removed unused imports
    • Applied formatting fixes
    • Performed minor refactors for readability and compliance

Exonymos added 4 commits June 3, 2025 18:20
- Updated code to resolve flake8 errors and warnings as per the project .flake8 configuration
- Applied formatting, removed unused imports, and made minor refactors for linting compliance
- Refactored some functions for better readability
- Refactor comments
- Change 'ignore' to 'extend-ignore'
- Remove unnecessary ignored codes
- Remove .coveragerc and pytest.ini files
- Integrate pytest and coverage settings into pyproject.toml
- Enhance coverage reporting options for better insights
original_item = db.session.get(WatchlistItem, int(item_id_str))
if original_item:
form_render_item = original_item # Use original as base
except ValueError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
item_from_db = db.session.get(WatchlistItem, int(item_id_str))
if item_from_db:
form_render_item = item_from_db
except ValueError:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.
@Exonymos Exonymos self-assigned this Mar 26, 2026
@Exonymos Exonymos merged commit bccc4b4 into main Mar 26, 2026
4 checks passed
@Exonymos Exonymos deleted the feature/tooling-adaptation branch March 26, 2026 20:40
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