Skip to content

Commit

Permalink
build: replace black and flake8 by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Mar 7, 2025
1 parent 162c642 commit a695f8b
Show file tree
Hide file tree
Showing 15 changed files with 136 additions and 359 deletions.
16 changes: 5 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ repos:
- id: check-toml
- id: check-yaml

- repo: https://github.com/pycqa/flake8
rev: 7.1.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.0
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings
- Flake8-pyproject

- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://codeberg.org/frnmst/md-toc
rev: 9.0.0
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ ADDED:

- Add support for Python 3.13

UPDATES:

- Replace black and flake8 with ruff for linting and formatting

# 13.2.4 (2025/03/07)

FIXES:
Expand Down
233 changes: 29 additions & 204 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a695f8b

Please sign in to comment.