Skip to content

Commit

Permalink
Merge pull request #82 from KOSASIH/deepsource-transform-27223a9a
Browse files Browse the repository at this point in the history
style: format code with 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
  • Loading branch information
KOSASIH authored May 10, 2024
2 parents 7b58847 + 142eef2 commit d85fa80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system_monitoring/issue_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ def __init__(self, system_monitoring):

def detect_issues(self):
if self.system_monitoring.cpu_percent > 80:
print('High CPU usage detected!')
print("High CPU usage detected!")
if self.system_monitoring.memory_percent > 80:
print('High memory usage detected!')
print("High memory usage detected!")
if self.system_monitoring.disk_percent > 80:
print('High disk usage detected!')
print("High disk usage detected!")

0 comments on commit d85fa80

Please sign in to comment.