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

Reserve 'too-many-positional' / 'R0917' for later use #9278

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
βœ“ πŸ“œ Docs

Description

See astral-sh/ruff#8946

Refs #9099

@Pierre-Sassoulas Pierre-Sassoulas added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news πŸ”‡ This change does not require a changelog entry labels Dec 4, 2023
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Merging #9278 (99eb831) into main (37081fd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9278   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files         173      173           
  Lines       18761    18761           
=======================================
  Hits        17975    17975           
  Misses        786      786           
Files Coverage Ξ”
pylint/checkers/design_analysis.py 98.88% <ΓΈ> (ΓΈ)

@flying-sheep
Copy link
Contributor

Thank you!

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Dec 4, 2023

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 99eb831

charliermarsh pushed a commit to astral-sh/ruff that referenced this pull request Dec 4, 2023
## Summary

Adds a rule that bans too many positional (i.e. not keyword-only)
parameters in function definitions.

Fixes #8946

Rule ID code taken from pylint-dev/pylint#9278

## Test Plan
1. fixtures file checking multiple OKs/fails
2. parametrized test file
@Pierre-Sassoulas Pierre-Sassoulas merged commit 278de0f into pylint-dev:main Dec 13, 2023
44 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the reserves-msgid-for-future-message branch December 13, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news πŸ”‡ This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants