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

style: format code with Black and PHP CS Fixer #640

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

deepsource-autofix[bot]
Copy link
Contributor

@deepsource-autofix deepsource-autofix bot commented Oct 21, 2024

This commit fixes the style issues introduced in bcb0ca3 according to the output
from Black and PHP CS Fixer.

Details: None

Summary by Sourcery

Enhancements:

  • Reformat code in multiple Python files using Black to improve readability and maintainability.

This commit fixes the style issues introduced in bcb0ca3 according to the output
from Black and PHP CS Fixer.

Details: None
Copy link

sourcery-ai bot commented Oct 21, 2024

Reviewer's Guide by Sourcery

This pull request applies code formatting changes using Black for Python files and PHP CS Fixer for PHP files. The changes are primarily focused on improving code readability and consistency without altering the functionality.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Reformatted string formatting in SQL query construction
  • Replaced inline string formatting with multi-line formatted strings
  • Added parentheses to improve readability of complex string formatting
  • Broke long lines into multiple lines to improve readability
services/mmc/plugins/glpi/database_100.py
services/mmc/plugins/glpi/database_92.py
services/mmc/plugins/glpi/database_93.py
services/mmc/plugins/glpi/database_94.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, deepsource-autofix[bot]!). We assume it knows what it's doing!

@neoclust neoclust merged commit 7bc7b8a into integration Oct 21, 2024
3 of 5 checks passed
@neoclust neoclust deleted the deepsource-transform-1aa5742e branch October 21, 2024 09:41
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