Skip to content

Commit

Permalink
chore: Switch to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 7, 2024
1 parent 76f982f commit a7f6150
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
16 changes: 4 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@ ci:
autoupdate_schedule: quarterly
skip: [pip-compile]
repos:
- repo: https://github.com/psf/black
rev: 24.4.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-comprehensions]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- id: ruff
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.4.4
hooks:
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name = "cove-oc4ids"
version = "0.0.0"

[tool.black]
[tool.ruff]
line-length = 119
target-version = "py310"

[tool.isort]
profile = 'black'
line_length = 119
[tool.ruff.lint]
select = ["C", "E", "F", "W"]

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = 'cove_project.settings'
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

0 comments on commit a7f6150

Please sign in to comment.