Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…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 01d2c0f 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
  • Loading branch information
deepsource-autofix[bot] authored May 10, 2024
1 parent 01d2c0f commit 4c5947a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions system_monitoring/self_healing.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import subprocess


class SelfHealing:
def __init__(self):
pass

def heal_system(self):
# Implement automatic healing techniques
subprocess.run(['systemctl', 'restart', 'nginx'])
subprocess.run(['systemctl', 'restart', 'postgresql'])
subprocess.run(["systemctl", "restart", "nginx"])
subprocess.run(["systemctl", "restart", "postgresql"])

0 comments on commit 4c5947a

Please sign in to comment.