Skip to content

feat: introduce gci to unify the order of package import#2545

Merged
ritazh merged 2 commits into
open-policy-agent:masterfrom
Fish-pro:feat/gci
Jan 31, 2023
Merged

feat: introduce gci to unify the order of package import#2545
ritazh merged 2 commits into
open-policy-agent:masterfrom
Fish-pro:feat/gci

Conversation

@Fish-pro
Copy link
Copy Markdown

Signed-off-by: Fish-pro zechun.chen@daocloud.io

What this PR does / why we need it:

The order of package import for some files in the code is not uniform, and this pr introduces gci to regulate package import order

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

@Fish-pro Fish-pro changed the title Introduce gci to unify the order of package import feat: introduce gci to unify the order of package import Jan 30, 2023
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.46%. Comparing base (5ab923e) to head (3175e3a).
Report is 681 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2545      +/-   ##
==========================================
+ Coverage   53.41%   53.46%   +0.04%     
==========================================
  Files         120      120              
  Lines       10634    10634              
==========================================
+ Hits         5680     5685       +5     
+ Misses       4516     4512       -4     
+ Partials      438      437       -1     
Flag Coverage Δ
unittests 53.46% <ø> (+0.04%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@maxsmythe maxsmythe requested review from ritazh and sozercan January 31, 2023 02:36
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
Copy link
Copy Markdown
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks for the PR!

@ritazh ritazh merged commit 4a27fbf into open-policy-agent:master Jan 31, 2023
davis-haba pushed a commit to davis-haba/gatekeeper that referenced this pull request Mar 7, 2023
…cy-agent#2545)

Introduce gci to unify the order of package import

Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
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.

4 participants