Skip to content

Commit

Permalink
fixup pylint confusion (#16716)
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Nov 3, 2023
1 parent bf4cdf2 commit ffe20da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* @Chia-Network/required-reviewers
/.github/* @Chia-Network/actions-reviewers
/PRETTY_GOOD_PRACTICES.md @altendky @Chia-Network/required-reviewers
/pylintrc @altendky @Chia-Network/required-reviewers
2 changes: 1 addition & 1 deletion chia/daemon/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ async def ping_task(self) -> None:
show_traceback=False,
):
await connection.ping()
except: # noqa E722 pylint: disable=bare-except
except: # noqa E722
self.remove_connection(connection)
await connection.close()

Expand Down
4 changes: 2 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=
extension-pkg-allow-list=lxml,zstd

# Add files or directories to the blacklist. They should be base names, not
# paths.
Expand Down Expand Up @@ -65,10 +65,10 @@ disable=raw-checker-failed,
arguments-differ,
arguments-renamed,
attribute-defined-outside-init,
bare-except,
broad-exception-caught,
broad-exception-raised,
cell-var-from-loop,
c-extension-no-member,
chained-comparison,
comparison-with-callable,
consider-iterating-dictionary,
Expand Down

0 comments on commit ffe20da

Please sign in to comment.