Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kluge Svendsrud authored and Andreas Kluge Svendsrud committed Sep 20, 2024
1 parent 42bb77d commit 113be66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/flake8-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ jobs:
uses: py-actions/flake8@v2
with:
ignore: |
"W504"
W503
W504
E203
max-line-length: "200"
4 changes: 2 additions & 2 deletions .github/workflows/pep8-formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request]

jobs:
format:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
# Step 1: Checkout the repository
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Step 2: Set up Python environment (since autopep8 is a Python tool)
- name: Set up Python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def timer_callback(self):
def warning_timer_callback(self):
# Check if Pressure is abnormaly to high, if so print a warning
if (self.pressure > self.pressureCriticalLevel):
self.logger.fatal(f"WARNING: Internal pressure to HIGH: {self.pressure} hPa! Drone might be LEAKING!")
self.logger.fatal(
f"WARNING: Internal pressure to HIGH: {self.pressure} hPa! Drone might be LEAKING!")


def main(args=None):
Expand Down

0 comments on commit 113be66

Please sign in to comment.