Skip to content

Conversation

@deepsource-autofix
Copy link
Contributor

This commit fixes the style issues introduced in e3ff1b5 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None

…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf

This commit fixes the style issues introduced in e3ff1b5 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
@deepsource-io
Copy link
Contributor

deepsource-io bot commented Jun 2, 2024

Here's the code health analysis summary for commits e3ff1b5..152f810. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Terraform LogoTerraform✅ SuccessView Check ↗
DeepSource Swift LogoSwift✅ SuccessView Check ↗
DeepSource SQL LogoSQL✅ SuccessView Check ↗
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource Scala LogoScala✅ SuccessView Check ↗
DeepSource Rust LogoRust✅ SuccessView Check ↗
DeepSource Ruby LogoRuby✅ SuccessView Check ↗
DeepSource Python LogoPython❌ Failure
❗ 2 occurences introduced
🎯 7 occurences resolved
View Check ↗
DeepSource PHP LogoPHP✅ SuccessView Check ↗
DeepSource Kotlin LogoKotlin✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Java LogoJava✅ SuccessView Check ↗
DeepSource Go LogoGo✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C & C++ LogoC & C++✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗
DeepSource Ansible LogoAnsible✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

except Exception as e:
logger.error(f"Error creating transaction: {e}")
return web.Response(text=json.dumps({'error': str(e)}), status=500)
return web.Response(text=json.dumps({"error": str(e)}), status=500)

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
except Exception as e:
logger.error(f"Error getting transaction: {e}")
return web.Response(text=json.dumps({'error': str(e)}), status=404)
return web.Response(text=json.dumps({"error": str(e)}), status=404)

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
except Exception as e:
logger.error(f"Error creating user: {e}")
return web.Response(text=json.dumps({'error': str(e)}), status=500)
return web.Response(text=json.dumps({"error": str(e)}), status=500)

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
except Exception as e:
logger.error(f"Error getting user: {e}")
return web.Response(text=json.dumps({'error': str(e)}), status=404)
return web.Response(text=json.dumps({"error": str(e)}), status=404)

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
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

Successfully merging this pull request may close these issues.

1 participant