-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sourcery Starbot ⭐ refactored wallies/deadpool #1
base: main
Are you sure you want to change the base?
Conversation
logger.exception(f"Error calling pid_callback") | ||
logger.exception("Error calling pid_callback") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function Future.pid
refactored with the following changes:
- Replace f-string with no interpolated values with string (
remove-redundant-fstring
)
logger.warning(f"Weird error, did not expect running jobs to be empty") | ||
logger.warning("Weird error, did not expect running jobs to be empty") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function Deadpool.run_process
refactored with the following changes:
- Replace f-string with no interpolated values with string (
remove-redundant-fstring
)
logger.exception(f"Initializer failed") | ||
logger.exception("Initializer failed") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function raw_runner
refactored with the following changes:
- Replace f-string with no interpolated values with string [×2] (
remove-redundant-fstring
)
assert 1 == 1 | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function test_abc
refactored with the following changes:
- Remove
assert True
statements (remove-assert-true
) - Simplify x == x -> True and x != x -> False (
equality-identity
)
Thanks for starring sourcery-ai/sourcery ✨ 🌟 ✨
Here's your pull request refactoring your most popular Python repo.
If you want Sourcery to refactor all your Python repos and incoming pull requests install our bot.
Review changes via command line
To manually merge these changes, make sure you're on the
main
branch, then run: