diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 601838b..73975f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,4 +58,4 @@ jobs: } run: pytest -v - name: Check style - run: flake8 django_cte/ tests/ + run: ruff check diff --git a/README.md b/README.md index c5ea86f..3a3bf3a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ source .venv/bin/activate pip install -e .[test] pytest -flake8 --config=setup.cfg +ruff check # To run tests against postgres psql -U username -h localhost -p 5432 -c 'create database django_cte;' diff --git a/pyproject.toml b/pyproject.toml index 6891c15..224cfe8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,9 +32,9 @@ dependencies = ["django"] [project.optional-dependencies] test = [ - "flake8", "psycopg2-binary", "pytest-unmagic", + "ruff", ] [project.urls] @@ -49,6 +49,3 @@ name = "django_cte" [tool.distutils.bdist_wheel] universal = true - -[tool.flake8] -exclude = "./build"