Skip to content

Commit

Permalink
Replace black by ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
ticosax committed Jan 7, 2025
1 parent b4f0824 commit d7a8168
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5

lint:
lint: # redundant with pre-commit-ci, but we want to make the linters a part of strict status checks.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
16 changes: 2 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,7 @@ repos:
- id: markdownlint
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.8.6'
rev: "v0.8.6"
hooks:
- id: ruff
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args:
- "--line-length"
- "119"
exclude: ^django_fsm_log/migrations|^docs/
- repo: https://github.com/adamchainz/django-upgrade
rev: "1.22.2"
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
- id: ruff-format

0 comments on commit d7a8168

Please sign in to comment.