Skip to main content

Build Status Azure DevOps coverage pre-commit.ci status

flake8-walrus

flake8 plugin which forbids assignment expressions (the walrus operator)

installation

pip install flake8-walrus

flake8 codes

Code Description
ASN001 do not use assignment expressions

rationale

lol

as a pre-commit hook

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]

Metadata

Release files for flake8-walrus 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-walrus 1.2.0
File Size Uploaded
flake8_walrus-1.2.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-walrus 1.2.0
File Interpreter ABI Platform
flake8_walrus-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 6.2 kB

Release files / flake8_walrus-1.2.0.tar.gz

Download URL flake8_walrus-1.2.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5dff966f0cc67abae104349812cd255ef3b5e09a7f768eac39b5a4a39f4d1e73
BLAKE2b-256 checksum
How to use checksums
9f1bb42d60e72bd90fb679fff33ab5cb82bcbdfd7ec93838628632e2b52f732b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release files / flake8_walrus-1.2.0-py2.py3-none-any.whl

Download URL flake8_walrus-1.2.0-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a9f72722188b95a393f8727a0eaeb8f31d9796eeb5a4328c9c4499ccd57e589d
BLAKE2b-256 checksum
How to use checksums
801124a66341aba4b456e4abdbf09c67954dbf5ea78a755be4a6681700d622ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page