Skip to content

Commit c93913d

Browse files
committed
remove unsafe fixes from pyproject, add back to pre-commit
1 parent 5e86c17 commit c93913d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ repos:
1818
rev: v0.11.12
1919
hooks:
2020
- id: ruff-check
21+
args: ["--fix", "--unsafe-fixes"]
2122
- id: ruff-format
2223

2324
- repo: https://github.com/pre-commit/mirrors-mypy

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ line-length = 88
131131
target-version = "py39"
132132
src = ["src", "tests"]
133133
fix = true
134-
unsafe-fixes = true
134+
# unsafe-fixes = true
135135

136136
[tool.ruff.lint]
137137
pydocstyle = { convention = "numpy" }

0 commit comments

Comments
 (0)