From 05f53e83de6bcf74598adf3ee32863322fd61d76 Mon Sep 17 00:00:00 2001 From: Gregory Newman-Smith <109068393+gregns1@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:21:23 +0000 Subject: [PATCH] CBG-4448: updates to fix python lint (#7275) * CBG-4448: updates to fix python lint * update python format --- .github/workflows/ci.yml | 4 ++-- tools/tasks.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c346235f9..9a3f4c32dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,14 +154,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v3 with: args: 'format --check' python-lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v3 test-sgcollect: runs-on: ${{ matrix.os }} strategy: diff --git a/tools/tasks.py b/tools/tasks.py index 88eb9b718a..37d4f3fd69 100644 --- a/tools/tasks.py +++ b/tools/tasks.py @@ -649,9 +649,7 @@ def make_os_tasks(processes): UnixTask("time and TZ", "date; date -u"), UnixTask( "ntp time", - "ntpdate -q pool.ntp.org || " - "nc time.nist.gov 13 || " - "netcat time.nist.gov 13", + "ntpdate -q pool.ntp.org || nc time.nist.gov 13 || netcat time.nist.gov 13", timeout=60, ), UnixTask("ntp peers", "ntpq -p"),