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

chore: Fix new ruff lints #21040

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lukemanley
Copy link
Contributor

fix new ruff lints failing in #21035

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Feb 1, 2025
@@ -203,7 +203,6 @@ def __init__(
if register_globals:
for name, obj in _get_frame_locals(
all_compatible=False,
n_objects=None if (register_globals is True) else None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

😄 this made me smile

looks like n = None if register_globals is True else None was introduced in https://github.com/pola-rs/polars/pull/8749/files and then refactored in https://github.com/pola-rs/polars/pull/8762/files - @alexander-beedie do you happen to remember the intention behind it?

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.27%. Comparing base (98ccb09) to head (030fc05).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21040      +/-   ##
==========================================
+ Coverage   79.21%   79.27%   +0.06%     
==========================================
  Files        1583     1583              
  Lines      225545   225545              
  Branches     2586     2586              
==========================================
+ Hits       178664   178809     +145     
+ Misses      46291    46146     -145     
  Partials      590      590              

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants