Skip to content

Lint node method's self argument#7903

Merged
huchenlei merged 1 commit intoComfy-Org:masterfrom
catboxanon:lint/invalid-first-argument-name-for-method
May 1, 2025
Merged

Lint node method's self argument#7903
huchenlei merged 1 commit intoComfy-Org:masterfrom
catboxanon:lint/invalid-first-argument-name-for-method

Conversation

@catboxanon
Copy link
Contributor

This PR adds a basic linter rule which helps keep node function definitions consistent.
Ref: https://docs.astral.sh/ruff/rules/invalid-first-argument-name-for-method/

@catboxanon catboxanon changed the title Lint instance methods Lint node method self arguments May 1, 2025
@catboxanon catboxanon changed the title Lint node method self arguments Lint node method self argument May 1, 2025
@catboxanon catboxanon changed the title Lint node method self argument Lint node method's self argument May 1, 2025
@huchenlei huchenlei merged commit 8d0661d into Comfy-Org:master May 1, 2025
6 checks passed
@catboxanon catboxanon deleted the lint/invalid-first-argument-name-for-method branch May 2, 2025 11:57
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