Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
and update pre-commit
  • Loading branch information
m-kuhn authored Aug 7, 2024
1 parent e0f70ff commit 6d2e9b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
jobs:
pre-commit:
name: Deploy to QGIS plugin repository
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2

- uses: pre-commit/action@v2.0.3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1
7 changes: 2 additions & 5 deletions a00_qpip/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import os
import subprocess
from importlib.metadata import Distribution
from subprocess import (
PIPE,
STDOUT,
Popen,
)
from subprocess import PIPE, STDOUT, Popen
from typing import List, Union

from pkg_resources import ResolutionError
Expand Down Expand Up @@ -58,6 +54,7 @@ def run_cmd(args, description="running a system command"):
STARTUPINFO,
SW_HIDE,
)

startupinfo = STARTUPINFO()
startupinfo.dwFlags |= STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW
startupinfo.wShowWindow = SW_HIDE
Expand Down

0 comments on commit 6d2e9b9

Please sign in to comment.