diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b41824a4c..3ca7d3efd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: rev: v0.0.286 hooks: - id: ruff - args: [--fix, --exit-non-zero-on-fix, --ignore=PD002] + args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black rev: 23.7.0 hooks: diff --git a/ruff.toml b/ruff.toml index bc0f750e8..20e78ea84 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,5 +1,5 @@ select = ["D", "E", "F", "NPY", "PD", "C4", "I"] -ignore = ["D1", "D202", "D205", "D400", "D404", "E501", "PD901"] +ignore = ["D1", "D202", "D205", "D400", "D404", "E501", "PD002", "PD901"] fixable = ["I"] [pydocstyle]