From cc44c49378b12f407c2d862b9bca0061ead9534b Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Thu, 14 Sep 2023 14:58:27 +0200 Subject: [PATCH] address review comment --- .pre-commit-config.yaml | 2 +- ruff.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]