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

fix: no more shadowing "license" #9085

Merged
merged 1 commit into from
Apr 2, 2024
Merged

fix: no more shadowing "license" #9085

merged 1 commit into from
Apr 2, 2024

Conversation

wes-turner
Copy link
Contributor

@wes-turner wes-turner commented Apr 2, 2024

license is a builtin constant (added by the site module). Let's not shadow it.

Description

Test Plan

No change in anything user-facing. No release testing necessary.

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

license is a builtin constant (added by the `site` module). Let's not
shadow it.
@cla-bot cla-bot bot added the cla-signed label Apr 2, 2024
Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 562f6e5
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/660b658947254d00099c2a9a

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.06%. Comparing base (3f2d6ab) to head (562f6e5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9085      +/-   ##
==========================================
+ Coverage   47.00%   47.06%   +0.05%     
==========================================
  Files        1154     1154              
  Lines      142378   142378              
  Branches     2423     2423              
==========================================
+ Hits        66927    67004      +77     
+ Misses      75261    75184      -77     
  Partials      190      190              
Flag Coverage Δ
backend 42.89% <ø> (-0.01%) ⬇️
harness 64.07% <ø> (+0.20%) ⬆️
web 38.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

@wes-turner wes-turner requested a review from hamidzr April 2, 2024 17:41
Copy link
Contributor

@hamidzr hamidzr left a comment

Choose a reason for hiding this comment

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

lgtm assuming no other lic vars exist in the same scope. thanks!

@hamidzr
Copy link
Contributor

hamidzr commented Apr 2, 2024

lgtm assuming no other lic vars exist in the same scope. thanks!

If this can be caught by CI how did it not fail the original pr?

@wes-turner
Copy link
Contributor Author

lgtm assuming no other lic vars exist in the same scope. thanks!

If this can be caught by CI how did it not fail the original pr?

It's new functionality in flake8-builtins.

@wes-turner wes-turner merged commit fe1a6bb into main Apr 2, 2024
72 of 85 checks passed
@wes-turner wes-turner deleted the wes/lint-builtin branch April 2, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants