diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index ac00422..34fb5b3 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -20,10 +20,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip mypy "cython>=0.29" - pip install -U pip flake8 setuptools + python -m pip install --upgrade pip mypy "cython>=0.29" setuptools + pip install -U pip ".[dev]" - name: Style checks - run: python -m flake8 + run: python -m ruff check . - name: Typing checks run: python -m mypy patiencediff - name: Build diff --git a/pyproject.toml b/pyproject.toml index 3bef8b7..91d2fb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,3 +67,8 @@ line-length = 79 [tool.ruff.pydocstyle] convention = "google" + +[project.optional-dependencies] +dev = [ + "ruff==0.4.3" +]