File tree 3 files changed +733
-0
lines changed
3 files changed +733
-0
lines changed Original file line number Diff line number Diff line change
1
+ go :
2
+ # pylint $$(find . -name '*.py' -print | sort -R) | ./desired-pylint-warnings
3
+ pylint $$(find . -name '*.py' -print )
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # This helped sift through the warnings to keep and eliminate. It's not needed normally, but it does serve as documentation
4
+ # of what pylint warnings we do care about.
5
+
6
+ grep -F -v ' *************' \
7
+ | grep -F -v ' (no-member)' \
8
+ | grep -F -v ' (unused-variable)' \
9
+ | grep -F -v ' (import-error)' \
10
+ | grep -F -v ' (unsubscriptable-object)' \
11
+ | grep -F -v ' (unsupported-membership-test)' \
12
+ | grep -F -v ' (redefined-outer-name)' \
13
+ | grep -F -v ' (arguments-renamed)' \
14
+ | grep -F -v ' (not-callable)' \
15
+ | grep -F -v ' (anomalous-backslash-in-string)' \
16
+ | grep -F -v ' (deprecated-method)' \
17
+ | grep -F -v ' (trailing-comma-tuple)' \
18
+ | grep -F -v ' (not-an-iterable)' \
19
+ | grep -F -v ' (signature-differs)' \
20
+ | grep -F -v ' (assignment-from-none)' \
21
+ | grep -F -v ' (c-extension-no-member)' \
22
+ | grep -F -v ' (unreachable)' \
23
+ | grep -F -v ' (function-redefined)' \
24
+ | grep -F -v ' (undefined-variable)' \
25
+ | grep -F -v ' (raising-bad-type)' \
26
+ | grep -F -v ' (expression-not-assigned)' \
27
+
You can’t perform that action at this time.
0 commit comments