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

ruff: add rules W, I, PIE #363

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Conversation

Javagedes
Copy link
Contributor

W: Pycodestyle warnings as ruff failures
I: Requires import statements to be properly sorted
PIE: miscellaneous checks revolving around removing unecessary code

Review the detailed descriptions of each check here: https://beta.ruff.rs/docs/rules/

W: Pycodestyle warnings as ruff failures
I: Requires import statements to be properly sorted
PIE: miscellaneous checks revolving around removing unecessary code

Review the detailed descriptions of each check here: https://beta.ruff.rs/docs/rules/
@Javagedes Javagedes added the enhancement New feature or request label Jul 12, 2023
@Javagedes Javagedes added this to the v0.15.4 milestone Jul 12, 2023
@Javagedes Javagedes requested a review from makubacki July 12, 2023 22:52
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (0bd4c2d) 78.65% compared to head (5ce529a) 78.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #363      +/-   ##
==========================================
+ Coverage   78.65%   78.68%   +0.02%     
==========================================
  Files          47       47              
  Lines        6742     6727      -15     
==========================================
- Hits         5303     5293      -10     
+ Misses       1439     1434       -5     
Impacted Files Coverage Δ
edk2toollib/uefi/edk2/build_objects/dsc.py 54.11% <ø> (ø)
edk2toollib/uefi/edk2/parsers/dec_parser.py 92.65% <ø> (ø)
edk2toollib/uefi/fmp_capsule_header.py 34.26% <ø> (ø)
edk2toollib/acpi/dmar_parser.py 72.46% <100.00%> (ø)
edk2toollib/acpi/ivrs_parser.py 94.49% <100.00%> (ø)
edk2toollib/gitignore_parser.py 92.96% <100.00%> (ø)
edk2toollib/log/ansi_handler.py 76.11% <100.00%> (ø)
edk2toollib/log/string_handler.py 95.83% <100.00%> (ø)
edk2toollib/tpm/tpm2_policy_calc.py 81.65% <100.00%> (ø)
.../uefi/authenticated_variables_structure_support.py 72.98% <100.00%> (+0.52%) ⬆️
... and 18 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Javagedes Javagedes merged commit fd3aac5 into tianocore:master Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants