Skip to content

Fix: Resolve pylint naming convention warnings in provider modules#273

Merged
aksg87 merged 2 commits intomainfrom
fix-pylint-provider-issues
Oct 30, 2025
Merged

Fix: Resolve pylint naming convention warnings in provider modules#273
aksg87 merged 2 commits intomainfrom
fix-pylint-provider-issues

Conversation

@aksg87
Copy link
Collaborator

@aksg87 aksg87 commented Oct 30, 2025

Summary

  • Fix pylint C0103 warnings about variable naming in provider modules
  • Rename module-level variables from _UPPERCASE to _lowercase snake_case
  • Add pylint suppressions for CI compatibility

Details

The CI was failing with pylint errors about variable naming conventions:

  • _ENTRIES and _ENTRY_KEYS in router.py
  • _PLUGINS_LOADED and _BUILTINS_LOADED in init.py

These are module-level private variables that get modified at runtime (not constants), so they should follow snake_case convention per PEP-8.

Testing

  • ✅ All tests pass locally with tox -e lint-src
  • ✅ No functional changes, only variable renames
@github-actions github-actions bot added the size/S Pull request with 50-150 lines changed label Oct 30, 2025
- Rename module-level variables from _UPPERCASE to _lowercase
- Add pylint disable comments for CI compatibility
- Variables are not constants as they're modified at runtime
@aksg87 aksg87 force-pushed the fix-pylint-provider-issues branch from ae4a16a to 09466aa Compare October 30, 2025 05:39
@aksg87 aksg87 added the ready-to-merge Triggers live API tests for PRs from forks label Oct 30, 2025
@aksg87 aksg87 self-assigned this Oct 30, 2025
@aksg87 aksg87 merged commit 284dae9 into main Oct 30, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers live API tests for PRs from forks size/S Pull request with 50-150 lines changed

1 participant