Skip to content

Commit

Permalink
add code static check
Browse files Browse the repository at this point in the history
  • Loading branch information
wevsty committed Oct 10, 2024
1 parent ebffc5d commit 4c98426
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/usb_kvm_client_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ jobs:
architecture: "x64"
cache: "pip"
cache-dependency-path: '**/requirements*.txt'
# Code Style Check
- name: Code Style Check
uses: psf/black@stable
with:
options: "--check --verbose --config ./client/pyproject.toml"
src: "./client"
# Install Dependencies
- name: Install Dependencies
run: pip install -r ./client/data/requirements.txt
# Code Static Check
- name: Code Static Check
run: |
black --check --verbose --config ./client/pyproject.toml ./client
flake8 --verbose --config=./client/flake8.cfg ./client
# Build python script into a stand-alone exe
- name: Build With Nuitka
uses: Nuitka/Nuitka-Action@main
Expand Down

0 comments on commit 4c98426

Please sign in to comment.