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

[Tidy First] Re-lint imports section of test_base_resource.py #10095

Merged
merged 1 commit into from
May 6, 2024

Conversation

QMalcolm
Copy link
Contributor

@QMalcolm QMalcolm commented May 6, 2024

This was done by running pre-commit run --all. That this was needed is a temporary glitch in how our Tests and Code Checks github action works on PRs. Basically we added isort to the pre-commit hooks recently, and this does additional linting/formatting on our imports.

People reasonably have branches which were started prior to isort being part of the pre-commit hooks on main. Thus, unless those branches get caught up to main, the github action on associated PRs won't run isort because it doesn't exist on those branchs. Once everyone gets their local main branch updated (I suspect this might take a few days) this problem will go away.

This was done by running `pre-commit run --all`. That this was needed
is a temporary glitch in how our `Tests and Code Checks` github action
works on PRs. Basically we added `isort` to the pre-commit hooks recently, and
this does additional linting/formatting on our imports.

People reasonably have branches which were started prior to `isort` being
part of the pre-commit hooks on main. Thus, unless those branches get caught
up to main, the github action on associated PRs won't run `isort` because
it doesn't exist on those branchs. Once everyone gets their local `main`
branch updated (I suspect this might take a few days) this problem will go
away.
@QMalcolm QMalcolm added Skip Changelog Skips GHA to check for changelog file tidy_first "Tidy First" incremental cleanup changes labels May 6, 2024
@QMalcolm QMalcolm requested a review from a team as a code owner May 6, 2024 21:07
@cla-bot cla-bot bot added the cla:yes label May 6, 2024
Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.17%. Comparing base (3e8f2f1) to head (01dd73b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10095      +/-   ##
==========================================
- Coverage   88.21%   88.17%   -0.05%     
==========================================
  Files         181      181              
  Lines       22748    22748              
==========================================
- Hits        20068    20057      -11     
- Misses       2680     2691      +11     
Flag Coverage Δ
integration 85.49% <ø> (-0.13%) ⬇️
unit 62.63% <ø> (ø)

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

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

@QMalcolm QMalcolm merged commit 65791e4 into main May 6, 2024
68 checks passed
@QMalcolm QMalcolm deleted the qmalcolm--tidy-first-catch-recent-imports branch May 6, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file tidy_first "Tidy First" incremental cleanup changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants