/ patches / 0001-Globally-disabled-consider-using-f-string-pylint-che.patch
0001-Globally-disabled-consider-using-f-string-pylint-che.patch
 1  From 351ab4ed57292ee4f906fa7ffc20d98037cd88f4 Mon Sep 17 00:00:00 2001
 2  From: dherrada <dylan.herrada@adafruit.com>
 3  Date: Thu, 23 Sep 2021 17:52:55 -0400
 4  Subject: [PATCH] Globally disabled consider-using-f-string pylint check
 5  
 6  ---
 7   .pre-commit-config.yaml | 2 +-
 8   1 file changed, 1 insertion(+), 1 deletion(-)
 9  
10  diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
11  index 354c761..8810708 100644
12  --- a/.pre-commit-config.yaml
13  +++ b/.pre-commit-config.yaml
14  @@ -30,5 +30,5 @@ repos:
15           name: pylint (examples code)
16           description: Run pylint rules on "examples/*.py" files
17           entry: /usr/bin/env bash -c
18  -        args: ['([[ ! -d "examples" ]] || for example in $(find . -path "./examples/*.py"); do pylint --disable=missing-docstring,invalid-name $example; done)']
19  +        args: ['([[ ! -d "examples" ]] || for example in $(find . -path "./examples/*.py"); do pylint --disable=missing-docstring,invalid-name,consider-using-f-string $example; done)']
20           language: system
21  -- 
22  2.25.1
23