Skip to content

Commit

Permalink
fix linter, add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MP91 committed Sep 6, 2023
1 parent 854034d commit 4988f2b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ jobs:
run: |
sudo curl -L https://github.com/eclipse-velocitas/cli/releases/latest/download/velocitas-linux-x64 -o /usr/bin/velocitas
sudo chmod +x /usr/bin/velocitas
pip install -r pantaris_integration/test/requirements.txt
- name: Init velocitas project
run: |
Expand Down
5 changes: 2 additions & 3 deletions pantaris_integration/src/gen_desired_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
# SPDX-License-Identifier: Apache-2.0

import argparse
import json
import hashlib
import json
import re
import requests

from typing import Any, Dict, List

import requests
import velocitas_lib
import velocitas_lib.services

Expand Down
4 changes: 2 additions & 2 deletions pantaris_integration/test/integration/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#
# SPDX-License-Identifier: Apache-2.0

from pathlib import Path
import subprocess
import json
import os
import subprocess
from pathlib import Path


def test_output():
Expand Down
1 change: 1 addition & 0 deletions pantaris_integration/test/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest==7.2.1
3 changes: 2 additions & 1 deletion pantaris_integration/test/test_gen_desired_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
#
# SPDX-License-Identifier: Apache-2.0

from pathlib import Path

from pantaris_integration.src.gen_desired_state import (
get_md5_for_file,
get_md5_from_uri,
is_uri,
)
from pathlib import Path


def test_get_md5_for_file():
Expand Down

0 comments on commit 4988f2b

Please sign in to comment.