Skip to content

pylintrc disable=W0613 #289

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

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link

@cclauss cclauss commented Apr 16, 2023

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
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