jnikula / hawkmoth

Hawkmoth - Sphinx Autodoc for C
https://jnikula.github.io/hawkmoth/
BSD 2-Clause "Simplified" License
74 stars 12 forks source link

style: follow pep8 on lambda assignments #230

Closed jnikula closed 12 months ago

jnikula commented 12 months ago

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.

BrunoMSantos commented 12 months ago

Looks great and I learnt something today ;)