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

B008 regression: lambdas #244

Closed
Dreamsorcerer opened this issue Mar 25, 2022 · 2 comments
Closed

B008 regression: lambdas #244

Dreamsorcerer opened this issue Mar 25, 2022 · 2 comments

Comments

@Dreamsorcerer
Copy link
Contributor

The last update flags this up as a warning now: https://github.com/aio-libs/aiohttp-session/blob/dependabot/pip/flake8-bugbear-22.3.23/aiohttp_session/redis_storage.py#L30

key_factory: Callable[[], str] = lambda: uuid.uuid4().hex,

But, actually, there is no function call in the default, it is just defining a lambda.

@jpy-git
Copy link
Contributor

jpy-git commented Mar 27, 2022

Hi @Dreamsorcerer, this is a dupe of #242 which we fixed yesterday and will be in the next release 👍

@Dreamsorcerer
Copy link
Contributor Author

Thanks, missed that.

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