diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 90f2915..cd08cf3 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -20,11 +20,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pipenv flake8 - pipenv install - - name: Lint with flake8 + pip install poetry + poetry install + - name: Lint with ruff run: | - # stop the build if there are Python syntax errors or undefined names - flake8 ./rollbot --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 ./rollbot --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics \ No newline at end of file + poetry run ruff format --check src + poetry run ruff check src