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

(PYL-W1202) Lazy formatting of message string passed to logging module #9

Closed
Luois45 opened this issue Aug 6, 2023 · 0 comments
Closed

Comments

@Luois45
Copy link
Owner

Luois45 commented Aug 6, 2023

Description

Formatting the message manually before passing it to a logging call does unnecessary work if logging in disabled. Consider using the logging module's built-in formatting features to avoid that. <!-- more -->

Occurrences

There are 7 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/Luois45/SkinbaronBot_v2/issue/PYL-W1202/occurrences/

@Luois45 Luois45 closed this as completed in 0123f6c Aug 6, 2023
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

No branches or pull requests

1 participant