it is feature complete and I don't plan on updating it further
flake8 plugin which forbids assignment expressions (the walrus operator)
pip install flake8-walrus
Code | Description |
---|---|
ASN001 | do not use assignment expressions |
lol
See pre-commit for instructions
Sample .pre-commit-config.yaml
:
- repo: https://github.com/pycqa/flake8
rev: 3.8.1
hooks:
- id: flake8
additional_dependencies: [flake8-walrus==1.1.0]