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

attempt at improving stub detection #66

Merged
merged 1 commit into from
May 3, 2024
Merged

Conversation

LemurPwned
Copy link
Owner

No description provided.

@LemurPwned LemurPwned merged commit 6413cc9 into master May 3, 2024
@LemurPwned LemurPwned deleted the hotfix/submodules branch May 3, 2024 13:33
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @LemurPwned - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -83,8 +85,7 @@ def cpp_flag(compiler):
if has_flag(compiler, flag):
return flag

raise RuntimeError("Unsupported compiler -- at least C++17 support "
"is needed!")
raise RuntimeError("Unsupported compiler -- at least C++17 support " "is needed!")
Copy link

Choose a reason for hiding this comment

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

suggestion (code_refinement): Consider simplifying the concatenated string for clarity.

The string concatenation in the RuntimeError seems unnecessary since it's a single static message. This could be simplified to a single string literal for better readability.

Suggested change
raise RuntimeError("Unsupported compiler -- at least C++17 support " "is needed!")
raise RuntimeError("Unsupported compiler -- at least C++17 support is needed!")

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.

None yet

1 participant