Skip to content

Commit

Permalink
added ruff linting validation
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jun 27, 2024
1 parent 81190a2 commit 6c26ee7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/pr_linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 📇 Code Linting

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number}}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
2 changes: 1 addition & 1 deletion create_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def create_addon_package(
else:
zipf.write(src_file, dst_subpath)

log.info(f"Package created")
log.info("Package created")


def main(
Expand Down

0 comments on commit 6c26ee7

Please sign in to comment.