medulla-tech / medulla

Medulla RMM is a radically simple IT automation and lifecycle management tool that offers the ability to handle repetitive tasks, quickly deploy applications, operating system and proactively manage them all where ever they are.
https://www.siveo.net
GNU General Public License v2.0
22 stars 3 forks source link

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

Closed deepsource-autofix[bot] closed 2 days ago

deepsource-autofix[bot] commented 2 days ago

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:

sourcery-ai[bot] commented 2 days ago

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](https://app.sourcery.ai) 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 - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).