Skip to content

Commit

Permalink
Create ruff_L&F-Beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydinhamedi authored Mar 19, 2024
1 parent e022df0 commit 8460ea9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ruff_L&F-Beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Main
name: Ruff - Beta

on:
push:
branches: [ "Beta" ]

jobs:
Ruff:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with ruff
run: |
ruff check . --fix --show-fixes
- name: Format with ruff
run: |
ruff format . --preview --line-length 140

0 comments on commit 8460ea9

Please sign in to comment.