Skip to content

Add COP016 function argument separator rule#3

Merged
vrslev merged 1 commit into
mainfrom
more-than-two-func-args
Jun 5, 2026
Merged

Add COP016 function argument separator rule#3
vrslev merged 1 commit into
mainfrom
more-than-two-func-args

Conversation

@vrslev

@vrslev vrslev commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add COP016 for functions/lambdas with more than two regular args and no * or / separator
  • ignore calls, dunder methods, leading self/cls, and signatures that already contain * or /
  • add append to verb allowlist and update README

Tests

  • just test --no-cov tests/test_plugin.py::test_function_keyword_only_args_validations -q
  • just lint-ci
  • just test --no-cov -q

@vrslev vrslev merged commit 4a583fa into main Jun 5, 2026
17 checks passed
@vrslev vrslev deleted the more-than-two-func-args branch June 5, 2026 09:47
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.

1 participant