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

rust-clippy: fixes #164

Merged
merged 5 commits into from
May 27, 2024
Merged

rust-clippy: fixes #164

merged 5 commits into from
May 27, 2024

Conversation

petr-matousek
Copy link

this is a follow up to #157

@petr-matousek
Copy link
Author

@lzaoral hi Lukas, this is a follow up to #157 based on your input

@kdudka kdudka self-assigned this May 3, 2024
@kdudka kdudka requested a review from lzaoral May 3, 2024 13:10
Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

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

Thnak you, @petr-matousek The clippy plugin now works on RHEL 8 as well!

Remarks:

  • nit: The commit message for c34fe3a looks incomplete. 🤔
  • I have found out that if the conversion script fails, csmock will still exit with 0 which is quite unexpected. Could you please fix that as well? Thank you!

scripts/convert-clippy.py Outdated Show resolved Hide resolved
make-srpm.sh Outdated Show resolved Hide resolved
scripts/convert-clippy.py Outdated Show resolved Hide resolved
@petr-matousek petr-matousek force-pushed the rust-clippy branch 9 times, most recently from b029d58 to 0b6b5dc Compare May 19, 2024 20:09
@kdudka
Copy link
Member

kdudka commented May 23, 2024

/packit rebuild-failed

Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you @petr-matousek!

walrus operator was introduced in Python 3.8 but we
support distributions that have Python versions lower
than that.
remove the workaround for the byte-compilation of python scripts
in unversioned directories and replace it with the recommended
approach from Fedora's Pyhon Packaging Guidelines.
@kdudka
Copy link
Member

kdudka commented May 27, 2024

Merging, thank you both!

@kdudka kdudka merged commit d216903 into csutils:main May 27, 2024
36 checks passed
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