Skip to content

Commit

Permalink
replace flake8 with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Nov 22, 2022
1 parent 5f321a5 commit 8434da4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,19 @@ jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install flake8
run: |
pip install flake8==4.0.1
- name: run flake8
python-version: "3.10"
- name: Install dependencies
run: |
flake8 . --count --show-source --statistics
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff .

pylint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8434da4

Please sign in to comment.