Skip to content

Commit a476ee6

Browse files
authored
Merge pull request #275 from adafruit/remove-duplicate-code
Added patch to remove duplicate code from libs that have it
2 parents 77089da + 7c9ec3f commit a476ee6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 938c68803029b40ba783141373957614350bba67 Mon Sep 17 00:00:00 2001
2+
From: evaherrada <[email protected]>
3+
Date: Tue, 21 Jun 2022 17:00:37 -0400
4+
Subject: [PATCH] Removed duplicate-code from library pylint disable
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 0a91a11..3343606 100644
12+
--- a/.pre-commit-config.yaml
13+
+++ b/.pre-commit-config.yaml
14+
@@ -24,7 +24,7 @@ repos:
15+
name: pylint (library code)
16+
types: [python]
17+
args:
18+
- - --disable=consider-using-f-string,duplicate-code
19+
+ - --disable=consider-using-f-string
20+
exclude: "^(docs/|examples/|tests/|setup.py$)"
21+
- id: pylint
22+
name: pylint (example code)
23+
--
24+
2.25.1
25+

0 commit comments

Comments
 (0)