Skip to content

Commit 2a2b097

Browse files
committed
Added pylint disable for f-strings in tests directory
Signed-off-by: dherrada <[email protected]>
1 parent a6aaefc commit 2a2b097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ repos:
3838
name: pylint (tests code)
3939
description: Run pylint rules on "tests/*.py" files
4040
entry: /usr/bin/env bash -c
41-
args: ['([[ ! -d "tests" ]] || for test in $(find . -path "./tests/*.py"); do pylint --disable=missing-docstring $test; done)']
41+
args: ['([[ ! -d "tests" ]] || for test in $(find . -path "./tests/*.py"); do pylint --disable=missing-docstring,consider-using-f-string $test; done)']
4242
language: system

0 commit comments

Comments
 (0)