-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/recover linters #371
Changes from all commits
270ddf6
0f7c9dc
594a6c2
4918f17
08645bf
e704c5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ ignore-patterns=__main__.py,.*_pb2.py,tac.sh,tac_local.sh | |
|
||
[MESSAGES CONTROL] | ||
# Skips after C0209 are temporary | ||
disable=C0103,C0201,C0301,C0302,W0105,W0707,W1202,W1203,R0801,E1136,E0611,C0209,R1710,R1729,C0206,W0237,R1735,W1505,R1732,W1514,R0402,R1714,R1734,W0640,W0621,E0401,R1733 | ||
disable=C0103,C0201,C0301,C0302,W0105,W0707,W1202,W1203,R0801,E1136,E0611,C0209,R1710,R1729,C0206,W0237,R1735,R1732,W1514,R0402,R1714,R1734,W0640,R1733 | ||
|
||
# See here for more options: https://www.codeac.io/documentation/pylint-configuration.html | ||
## Eventually resolve these: | ||
|
@@ -21,6 +21,19 @@ disable=C0103,C0201,C0301,C0302,W0105,W0707,W1202,W1203,R0801,E1136,E0611,C0209, | |
# W0105: pointless-string-statement, # kept as no harm | ||
# R0801: similar lines, # too granular | ||
# W0212: protected-access | ||
# C0209: consider-using-fstring, # kept as no harm | ||
# W1514: unspecified-encoding, # kept as no harm | ||
# R1734: use-list-literal, # kept as no harm | ||
# R1735: use-dict-literal, # kept as no harm | ||
# R1732: consider-using-with | ||
# W0237: arguments-renamed | ||
# R1733: unnecessary-dict-index-lookup | ||
# R1710: inconsistent-return-statements | ||
# R1714: consider-using-in | ||
# R1729: use-a-generator | ||
# R0402: consider-using-from-import | ||
# W0640: cell-var-from-loop | ||
# C0206: consider-using-dict-items | ||
Comment on lines
+24
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All these were introduced between pylint 2.6.0 to 2.11.1. Now we have introduced Tomte and making that upgrade, we do not want to change our linter settings so these must be skipped. |
||
|
||
[IMPORTS] | ||
ignored-modules=bech32,ecdsa,lru,eth_typing,eth_keys,eth_account,ipfshttpclient,werkzeug,openapi_spec_validator,aiohttp,multidict,yoti_python_sdk,defusedxml,gym,fetch,matplotlib,memory_profiler,numpy,oef,openapi_core,psutil,tensorflow,temper,skimage,web3,aioprometheus,pyaes,Crypto,asn1crypto,cosmpy,google,coverage,pylint,pytest,gitpython,protobuf | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,7 +412,7 @@ def start(self) -> bool: | |
self._thread = Thread( | ||
target=self._thread_target, name=self.__class__.__name__ # type: ignore # loop was set in set_loop | ||
) | ||
self._thread.setDaemon(True) | ||
self._thread.daemon = True | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this an api change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A deprecation: #371 (comment) |
||
self._thread.start() | ||
self._stop_called = 0 | ||
return True | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recovering the check-api-docs