Skip to content

Commit ca04cb2

Browse files
committed
Replace flake8 with ruff
1 parent ae840f4 commit ca04cb2

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
}
5959
run: pytest -v
6060
- name: Check style
61-
run: flake8 django_cte/ tests/
61+
run: ruff check

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ source .venv/bin/activate
2424
pip install -e .[test]
2525
2626
pytest
27-
flake8 --config=setup.cfg
27+
ruff check
2828
2929
# To run tests against postgres
3030
psql -U username -h localhost -p 5432 -c 'create database django_cte;'

pyproject.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ dependencies = ["django"]
3232

3333
[project.optional-dependencies]
3434
test = [
35-
"flake8",
3635
"psycopg2-binary",
3736
"pytest-unmagic",
37+
"ruff",
3838
]
3939

4040
[project.urls]
@@ -49,6 +49,3 @@ name = "django_cte"
4949

5050
[tool.distutils.bdist_wheel]
5151
universal = true
52-
53-
[tool.flake8]
54-
exclude = "./build"

0 commit comments

Comments
 (0)