Skip to content

Commit

Permalink
Use ruff-format for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akx authored and WhyNotHugo committed Nov 28, 2023
1 parent 4ffc1b5 commit b7d063c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ repos:
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: debug-statements
- repo: https://github.com/psf/black
rev: "23.11.0"
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.7.1'
hooks:
Expand All @@ -19,6 +15,7 @@ repos:
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/netromdk/vermin
rev: v1.6.0
hooks:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
write_to = "barcode/version.py"
version_scheme = "post-release"

[tool.black]
target-version = ['py38']

[tool.ruff]
select = [
"F",
Expand Down

0 comments on commit b7d063c

Please sign in to comment.