Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Move Ruff rule A005 #3187

Merged
merged 2 commits into from
Mar 13, 2025
Merged

DEV: Move Ruff rule A005 #3187

merged 2 commits into from
Mar 13, 2025

Conversation

j-t-1
Copy link
Contributor

@j-t-1 j-t-1 commented Mar 13, 2025

A005: Module shadows a Python standard-library module. Move from a global ignore in the tool.ruff.lint section, to tool.ruff.lint.per-file-ignores (symbol.py and types.py are the shadowed modules). This will prevent new modules being added that shadow a Python standard-library module.

A005: Module shadows a Python standard-library module. Move from a global ignore in the tool.ruff.lint section, to tool.ruff.lint.per-file-ignores (symbol and types
Copy link

codecov bot commented Mar 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.51%. Comparing base (d94723f) to head (5130e80).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3187   +/-   ##
=======================================
  Coverage   96.51%   96.51%           
=======================================
  Files          53       53           
  Lines        8933     8933           
  Branches     1639     1639           
=======================================
  Hits         8622     8622           
  Misses        187      187           
  Partials      124      124           

☔ 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.

A005: Module shadows a Python standard-library module. Move from a global ignore in the tool.ruff.lint section, to tool.ruff.lint.per-file-ignores (symbol.py and types.py are the shadowed modules). This will prevent new modules being added that shadow a Python standard-library module.
@stefan6419846 stefan6419846 merged commit 0750365 into py-pdf:main Mar 13, 2025
16 checks passed
@j-t-1 j-t-1 deleted the A005 branch March 13, 2025 12:39
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