Skip to content

pylintrc disable=W0613 - #289

Closed
cclauss wants to merge 1 commit into
rethinkdb:gabor/implement-clifrom
cclauss:patch-1
Closed

cclauss wants to merge 1 commit into
rethinkdb:gabor/implement-clifrom
cclauss:patch-1

Conversation

@cclauss

@cclauss cclauss commented Apr 16, 2023 •

Copy link
Copy Markdown

The next step after #288

Reason for the change
If applicable, link the related issue/bug report or write down in few sentences the motivation.

Description
A clear and concise description of what did you changed and why.

Code examples
If applicable, add code examples to help explain your changes.

Checklist

References
Anything else related to the change e.g. documentations, RFCs, etc.

pylint rethinkdb
************* Module rethinkdb.cli.main
rethinkdb/cli/main.py:77:0: W0613: Unused argument 'args' (unused-argument)
rethinkdb/cli/main.py:77:0: W0613: Unused argument 'kwargs' (unused-argument)
************* Module rethinkdb.cli._index_rebuild
rethinkdb/cli/_index_rebuild.py:32:22: W0613: Unused argument 'ctx' (unused-argument)
************* Module rethinkdb.cli._restore
rethinkdb/cli/_restore.py:29:16: W0613: Unused argument 'ctx' (unused-argument)
************* Module rethinkdb.cli._dump
rethinkdb/cli/_dump.py:29:13: W0613: Unused argument 'ctx' (unused-argument)
************* Module rethinkdb.cli._export
rethinkdb/cli/_export.py:29:15: W0613: Unused argument 'ctx' (unused-argument)
************* Module rethinkdb.cli._import
rethinkdb/cli/_import.py:29:15: W0613: Unused argument 'ctx' (unused-argument)

-----------------------------------
Your code has been rated at 9.97/10

make: *** [Makefile:106: lint] Error 4
Error: Process completed with exit code 2.

@lsabi Your review, please.

@gabor-boros

Copy link
Copy Markdown
Member

Hey @cclauss,

Thanks for the PR. Actually, this is my fault. Instead of ctx I could have used _, and that should be the temporary solution. Disabling unused variable check could cause more truble than the benefit it brings.

@cclauss cclauss closed this Apr 17, 2023
@cclauss
cclauss deleted the patch-1 branch April 17, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants