Skip to content

Commit 756aa00

Browse files
authored
Merge pull request #265 from tekktrik/patch/pylintrc-05232022
Add .pylintrc patches to patch list
2 parents 7998c26 + aa68a0f commit 756aa00

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

patches/inclusive-terminology.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From f351f391e7bb66c99b8a17b04f7f48a68f0a6a0a Mon Sep 17 00:00:00 2001
2+
From: Alec Delaney <[email protected]>
3+
Date: Sun, 22 May 2022 00:18:23 -0400
4+
Subject: [PATCH 1/2] Switch to inclusive terminology
5+
6+
---
7+
.pylintrc | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/.pylintrc b/.pylintrc
11+
index 4e50ab9..e06d2f6 100644
12+
--- a/.pylintrc
13+
+++ b/.pylintrc
14+
@@ -9,11 +9,11 @@
15+
# run arbitrary code
16+
extension-pkg-whitelist=
17+
18+
-# Add files or directories to the blacklist. They should be base names, not
19+
+# Add files or directories to the ignore-list. They should be base names, not
20+
# paths.
21+
ignore=CVS
22+
23+
-# Add files or directories matching the regex patterns to the blacklist. The
24+
+# Add files or directories matching the regex patterns to the ignore-list. The
25+
# regex matches against base names, not paths.
26+
ignore-patterns=
27+
28+
--
29+
2.35.1
30+

patches/lines-similarity.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 1e29fcc30ba460dd12e19ec1cb9512af56f7e01d Mon Sep 17 00:00:00 2001
2+
From: Alec Delaney <[email protected]>
3+
Date: Sun, 22 May 2022 00:18:55 -0400
4+
Subject: [PATCH 2/2] Increase min lines similarity
5+
6+
---
7+
.pylintrc | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/.pylintrc b/.pylintrc
11+
index e06d2f6..fe0cbee 100644
12+
--- a/.pylintrc
13+
+++ b/.pylintrc
14+
@@ -252,7 +252,7 @@ ignore-docstrings=yes
15+
ignore-imports=yes
16+
17+
# Minimum lines number of a similarity.
18+
-min-similarity-lines=4
19+
+min-similarity-lines=12
20+
21+
22+
[BASIC]
23+
--
24+
2.35.1
25+

0 commit comments

Comments
 (0)