Skip to content

chore: re-enable global pylint checks and resolve violations#26

Merged
SimoneAndreaCilia merged 1 commit into
mainfrom
chore/pylint-rules-cleanup
Jun 10, 2026
Merged

chore: re-enable global pylint checks and resolve violations#26
SimoneAndreaCilia merged 1 commit into
mainfrom
chore/pylint-rules-cleanup

Conversation

@SimoneAndreaCilia

Copy link
Copy Markdown
Owner
  • Re-enable unused-argument,
    edefined-outer-name, locally-disabled, ile-ignored, suppressed-message, useless-suppression, and deprecated-pragma in .pylintrc.
  • Prefix unused parameters with _ in src/wod/bot/formatters.py and src/wod/bot/main.py to satisfy unused-argument rules.
  • Localize
    edefined-outer-name disables at the file level inside test files ( ests/bot/test_live_workout.py, ests/bot/test_wod.py, ests/bot/test_wod_helpers.py, ests/conftest.py, and ests/core/test_engine.py) to handle standard pytest fixture shadowing without globally ignoring the check.
  • Fix mock argument positions in ests/bot/test_menu.py and ests/bot/test_live_workout.py using prefix _ to satisfy both the Pylint compiler and mock @patch positional orders.

- Re-enable unused-argument, 
edefined-outer-name, locally-disabled, ile-ignored, suppressed-message, useless-suppression, and deprecated-pragma in .pylintrc.
- Prefix unused parameters with _ in src/wod/bot/formatters.py and src/wod/bot/main.py to satisfy unused-argument rules.
- Localize 
edefined-outer-name disables at the file level inside test files (	ests/bot/test_live_workout.py, 	ests/bot/test_wod.py, 	ests/bot/test_wod_helpers.py, 	ests/conftest.py, and 	ests/core/test_engine.py) to handle standard pytest fixture shadowing without globally ignoring the check.
- Fix mock argument positions in 	ests/bot/test_menu.py and 	ests/bot/test_live_workout.py using prefix _ to satisfy both the Pylint compiler and mock @patch positional orders.
@SimoneAndreaCilia SimoneAndreaCilia merged commit 3477000 into main Jun 10, 2026
2 checks passed
@SimoneAndreaCilia SimoneAndreaCilia deleted the chore/pylint-rules-cleanup branch June 10, 2026 10:23
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.

1 participant