Skip to content
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

Refactor methods with large numbers of positional arguments #782

Open
rg936672 opened this issue Sep 24, 2024 · 0 comments
Open

Refactor methods with large numbers of positional arguments #782

rg936672 opened this issue Sep 24, 2024 · 0 comments

Comments

@rg936672
Copy link
Contributor

What's the issue?

As suggested by pylint's R0917: too-many-positional-arguments, we should avoid having functions with a large number of positional arguments; functions which do should have a * inserted into their arguments list in order to mark later arguments as keyword-only.

This is a breaking change, however, so we will have to be careful when doing this.

When doing this, reduce the allowed number of positional arguments in .pylintrc to the default of 5.

@rg936672 rg936672 added the new Something yet to be discussed by development team label Sep 24, 2024
@bc294725 bc294725 removed the new Something yet to be discussed by development team label Sep 30, 2024
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

No branches or pull requests

2 participants