Skip to content

Commit

Permalink
add action
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Jul 19, 2024
1 parent 2c374a6 commit 7d13d3d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/codestyle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Code Style for Plugin LoS Tools

on: push

jobs:

Codestyle-for-Plugin-LoS-Tools:

runs-on: ubuntu-latest

permissions:
contents: write

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'

- name: Install Python packages
run: pip install black isort

- name: Black
run: black .

- name: Isort
run: isort .

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Black and isort formatting

0 comments on commit 7d13d3d

Please sign in to comment.