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 details)
Built Distribution
File details
Details for the file flake8_walrus-1.0.0.tar.gz
.
File metadata
- Download URL: flake8_walrus-1.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5372d2276976eecc0eda4b3db5e00fe3125d558c201cd6a20e0ed8a632edded6 |
|
MD5 | f7685610138afb9bec2069aa37e67b33 |
|
BLAKE2b-256 | 11849e09ca0bf41bd92f445f79d82d353d1288e1621163a5d967db92a0275d0c |
Provenance
File details
Details for the file flake8_walrus-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_walrus-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a228708e566d95f3b3d68497687a37c16081b4039dcd38067db0e4df9643c7b |
|
MD5 | 6c3ef35a2686cd58669573355f6718e3 |
|
BLAKE2b-256 | 6b057e749655a50e26cbb6959fb2023d109d3e1cae1d59bb070ac67b8f68da89 |