Skip to content

Commit

Permalink
Create code-style.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
4gac authored Aug 13, 2024
1 parent 897732c commit bea7a3e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Code style
on: [push, pull_request]
jobs:
code-style:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Check formatting
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- name: Check coding style
uses: chartboost/ruff-action@v1
with:
args: 'check --select F,E,W,I,PLW'

0 comments on commit bea7a3e

Please sign in to comment.