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

style: follow pep8 on lambda assignments #230

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Nov 26, 2023

PEP8 https://peps.python.org/pep-0008/ says:

Always use a def statement instead of an assignment statement that binds a lambda expression directly to an identifier.

Fix them, and drop the flake8 exception.

PEP8 https://peps.python.org/pep-0008/ says:

Always use a def statement instead of an assignment statement that binds
a lambda expression directly to an identifier.

Fix them, and drop the flake8 exception.
@jnikula jnikula requested a review from BrunoMSantos November 26, 2023 14:47
@BrunoMSantos
Copy link
Collaborator

Looks great and I learnt something today ;)

@jnikula jnikula merged commit 37b89b1 into master Nov 27, 2023
5 checks passed
@jnikula jnikula deleted the lambda-assignment branch November 27, 2023 13:39
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