Skip to content

Commit

Permalink
Update ruff config and autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Mar 26, 2024
1 parent 80efbfb commit a253167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ repos:
rev: v0.3.4
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ packages = ["pyalex"]
[tool.setuptools_scm]
write_to = "pyalex/_version.py"

[tool.ruff]
[tool.ruff.lint]
select = ["E", "F", "UP", "I", "B"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
force-single-line = true

0 comments on commit a253167

Please sign in to comment.