diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59e08ba..9a57342 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} - run: pip install -r requirements.txt - - run: ./lint.sh + - run: ruff check - run: pytest --cov=. --cov-report=xml - uses: codecov/codecov-action@v4 with: diff --git a/lint.sh b/lint.sh deleted file mode 100755 index 4479f7d..0000000 --- a/lint.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -black --check . -isort --check . -flake8 . diff --git a/requirements.txt b/requirements.txt index 3e83d18..01759b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,4 @@ -black==24.8.0 -flake8==7.1.1 -isort==6.0.0b2 +ruff==0.6.2 pytest==8.3.2 pytest-cov==5.0.0 jsbeautifier==1.15.1