Skip to content

Commit

Permalink
using black 23.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Mar 20, 2023
1 parent 87c745e commit 0074875
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:

jobs:
qa:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v3.4.0
- name: Set up Python 3.11
uses: actions/setup-python@v4.5.0
with:
python-version: 3.8
python-version: "3.11"
- name: Install dependencies
run: python -m pip install -U pytest black
run: python -m pip install -U pytest black==23.1.0
- name: Black
run: black --check .
- name: Tests
Expand Down
1 change: 0 additions & 1 deletion docker_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


def check_installed_version():

version = subprocess.run(
["docker", "buildx", "version"],
stdout=subprocess.PIPE,
Expand Down
1 change: 0 additions & 1 deletion docker_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


def docker_login_from_env():

credentials = dict(
[
[x.strip() for x in item.split("=")] if "=" in item else (item.strip(), "")
Expand Down
1 change: 0 additions & 1 deletion docker_logout.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


def docker_logout_from_env():

for registry in os.getenv("REGISTRIES", "").split():
print(f"Logging out of {registry}…")
logout = subprocess.run(["docker", "logout", registry])
Expand Down
1 change: 0 additions & 1 deletion find_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


def find_tag_from_env():

docker_tag_for_master = os.getenv("ON_MASTER")
manual_tag = os.getenv("MANUAL_TAG", "")
version_tag, latest = "", False
Expand Down

0 comments on commit 0074875

Please # to comment.