Skip to content

chore(tests): resolve pylint lint errors#26

Merged
anantdamle merged 1 commit intomainfrom
fix_25
Feb 5, 2026
Merged

chore(tests): resolve pylint lint errors#26
anantdamle merged 1 commit intomainfrom
fix_25

Conversation

@anantdamle
Copy link
Collaborator

Fixes #25

This commit addresses pylint errors reported by task lint:

Changes

Line Too Long (C0301)

  • Shortened docstring in test_multiple_interactions_have_consistent_ids()
    from 90 to 65 characters to comply with 88-char limit

No-Member False Positives (E1101)

  • Added # pylint: disable=no-member inline comments to suppress
    false positive errors where pylint doesn't recognize Streamlit's
    ElementList dynamic methods (click(), check(), set_value())
  • Affected lines: 39, 74, 110, 147, 150, 194, 229

Result

  • Pylint score improved: 9.52/10 → 9.92/10
  • Remaining R0801 (duplicate-code) warnings are acceptable for test
    files where fixture duplication improves test isolation and clarity

Co-Authored-By: Cortex Code noreply@snowflake.com

Fixes #25

This commit addresses pylint errors reported by `task lint`:

- Shortened docstring in `test_multiple_interactions_have_consistent_ids()`
  from 90 to 65 characters to comply with 88-char limit

- Added `# pylint: disable=no-member` inline comments to suppress
  false positive errors where pylint doesn't recognize Streamlit's
  `ElementList` dynamic methods (`click()`, `check()`, `set_value()`)
- Affected lines: 39, 74, 110, 147, 150, 194, 229

- Pylint score improved: 9.52/10 → 9.92/10
- Remaining R0801 (duplicate-code) warnings are acceptable for test
  files where fixture duplication improves test isolation and clarity

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@anantdamle anantdamle merged commit de39a44 into main Feb 5, 2026
5 checks passed
@anantdamle anantdamle deleted the fix_25 branch February 5, 2026 05:17
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.

Fix pylint lint errors in test files

1 participant