flake8 plugin which forbids assignment expressions (the walrus operator)
Project description
flake8-walrus
flake8 plugin which forbids the walrus operator
installation
pip install flake8-walrus
rationale
lol
as a pre-commit hook
See pre-commit for instructions
Sample .pre-commit-config.yaml
:
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
hooks:
- id: flake8
additional_dependencies: [flake8-walrus==1.0.0]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8_walrus-1.0.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for flake8_walrus-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a228708e566d95f3b3d68497687a37c16081b4039dcd38067db0e4df9643c7b |
|
MD5 | 6c3ef35a2686cd58669573355f6718e3 |
|
BLAKE2b-256 | 6b057e749655a50e26cbb6959fb2023d109d3e1cae1d59bb070ac67b8f68da89 |