Skip to content

chore: remove unused pylint inline pragmas#371

Merged
rpreen merged 1 commit intomainfrom
chore/remove-pylint-pragmas
Mar 26, 2026
Merged

chore: remove unused pylint inline pragmas#371
rpreen merged 1 commit intomainfrom
chore/remove-pylint-pragmas

Conversation

@ssrhaso
Copy link
Copy Markdown
Contributor

@ssrhaso ssrhaso commented Mar 20, 2026

Hi @rpreen

Removed all # pylint: disable=... and # pylint: skip-file inline pragmas from the codebase.
No logic, function signatures, or imports were changed. All pre-commit hooks pass.

Ref #348

@ssrhaso ssrhaso requested a review from rpreen March 20, 2026 16:10
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.70%. Comparing base (cf40c70) to head (b310784).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   99.70%   99.70%           
=======================================
  Files           9        9           
  Lines        1354     1354           
=======================================
  Hits         1350     1350           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ssrhaso ssrhaso force-pushed the chore/remove-pylint-pragmas branch from 86e7789 to 40fbf92 Compare March 20, 2026 16:22
@ssrhaso
Copy link
Copy Markdown
Contributor Author

ssrhaso commented Mar 20, 2026

Removed redundant .keys() call on line 401 of acro_stata_parser.py.. (Codacy Static Code Analysis flagged as error)

@ssrhaso ssrhaso self-assigned this Mar 25, 2026
@ssrhaso
Copy link
Copy Markdown
Contributor Author

ssrhaso commented Mar 25, 2026

@rpreen Please take a look at this when you get a chance

Comment on lines 4 to 5
# file this file and the file test_stata_interface.py have a lot of similarities.
# That is because we are testing the same functions for different versions of Stata.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this comment that references pylint since it no longer applies?

@rpreen
Copy link
Copy Markdown
Collaborator

rpreen commented Mar 25, 2026

Also while here can we clean up the last inline noqas since we want to move all the rule suppressions to pyproject.toml:

acro/acro_regression.py
141:            *args,  # noqa: B026
261:            *args,  # noqa: B026
381:            *args,  # noqa: B026

@ssrhaso ssrhaso force-pushed the chore/remove-pylint-pragmas branch from 40fbf92 to b310784 Compare March 26, 2026 11:36
@ssrhaso
Copy link
Copy Markdown
Contributor Author

ssrhaso commented Mar 26, 2026

@rpreen Changes made

  • Comment referencing Pylint removed
  • noqa suppressions removed
  • toml updated

Copy link
Copy Markdown
Collaborator

@rpreen rpreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks

@rpreen rpreen merged commit fe1f204 into main Mar 26, 2026
5 checks passed
@rpreen rpreen deleted the chore/remove-pylint-pragmas branch March 26, 2026 12:57
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