Skip to content

Commit

Permalink
Add ruff linter to pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnazary committed Nov 26, 2024
1 parent 0aac8ba commit 2799984
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/pre-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,6 @@ jobs:
name: check code style with isort
uses: ahnazary/actions-library/.github/workflows/isort.yaml@main

flake8:
name: check code style with flake8
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11

- name: run flake8
run: |
pip install flake8
flake8 --max-line-length=99 --extend-ignore=E402
ruff:
name: check code style with ruff
uses: ahnazary/actions-library/.github/workflows/ruff.yaml@main

0 comments on commit 2799984

Please sign in to comment.