Skip to content

Commit

Permalink
Replace black by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Dec 30, 2023
1 parent b38ee94 commit 338781b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ repos:
exclude:
"mkdocs.yml"
- id: check-added-large-files
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black-jupyter
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.289
rev: v0.1.9
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
1 change: 0 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ abstract: >-
straightforward Python interface and an intuitive Command
Line Interface (CLI).
license: MIT

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ datahugger = "datahugger.__main__:main"

[project.optional-dependencies]
all = ["datasets"]
lint = ["ruff", "black", "jupyter-black"]
lint = ["ruff"]
test = ["pytest"]
docs = ["mkdocs-material"]

Expand Down

0 comments on commit 338781b

Please sign in to comment.