Skip to content

Conversation

@KAVYANSHTYAGI
Copy link
Contributor

@KAVYANSHTYAGI KAVYANSHTYAGI commented Jun 8, 2025

This PR updates a logging statement in setup.py to use lazy string formatting (logging.info("msg %s", var)) instead of string concatenation. This is in line with best practices for Python logging, as it improves performance and avoids potential formatting issues.

No functional changes to logic.............only improves logging clarity and efficiency.


📚 Documentation preview 📚: https://pytorch-lightning--20886.org.readthedocs.build/en/20886/

@Borda Borda merged commit 3b2a73f into Lightning-AI:master Jun 10, 2025
65 checks passed
Borda pushed a commit that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants