json-logging-python
json-logging-python copied to clipboard
Rework on #109
PR Type
Enhancement
Description
-
Modernize Python code to support versions 3.9-3.12
-
Replace deprecated
datetime.utcnow()with timezone-aware alternative -
Update string formatting to use f-strings
-
Remove Python 2 compatibility code
Changes diagram
flowchart LR
A["Python 2/3 compatibility code"] --> B["Python 3.9+ only code"]
C["datetime.utcnow()"] --> D["datetime.now(timezone.utc)"]
E["String format()"] --> F["f-strings"]
G["super(Class, self)"] --> H["super()"]
Changes walkthrough 📝
| Relevant files | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enhancement | 6 files
| ||||||||||||||||
| Formatting | 8 files
| ||||||||||||||||
| Bug fix | |||||||||||||||||
| Dependencies | 1 files
|
Need help?
Type /help how to ...in the comments thread for any questions about Qodo Merge usage.Check out the documentation for more information.