-
Notifications
You must be signed in to change notification settings - Fork 1
chore: fix ruff violations F841, F811, E741 in main.py #394
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1454,7 +1454,7 @@ | |||||
|
|
||||||
| _cache_stats["misses"] += 1 | ||||||
|
|
||||||
| except httpx.HTTPStatusError as e: | ||||||
| except httpx.HTTPStatusError: | ||||||
Check warningCode scanning / Prospector (reported by Codacy) The except handler raises immediately (try-except-raise) Warning
The except handler raises immediately (try-except-raise)
|
||||||
| # Re-raise with original exception (don't catch and re-raise) | ||||||
|
||||||
| # Re-raise with original exception (don't catch and re-raise) | |
| # Intentionally propagate HTTPStatusError unchanged (no wrapping or swallowing) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
The except handler raises immediately Note