Skip to content

Commit

Permalink
Merge pull request #102 from dimagi/ruff
Browse files Browse the repository at this point in the history
Replace flake8 with ruff
  • Loading branch information
millerdev authored Jan 3, 2025
2 parents ae840f4 + ca04cb2 commit 8011d62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
}
run: pytest -v
- name: Check style
run: flake8 django_cte/ tests/
run: ruff check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;'
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies = ["django"]

[project.optional-dependencies]
test = [
"flake8",
"psycopg2-binary",
"pytest-unmagic",
"ruff",
]

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

[tool.distutils.bdist_wheel]
universal = true

[tool.flake8]
exclude = "./build"

0 comments on commit 8011d62

Please sign in to comment.