All Projects → asottile → flake8-walrus

asottile / flake8-walrus

Licence: MIT License
flake8 plugin which forbids assignment expressions (the walrus operator)

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to flake8-walrus

jira-sprint-analytics
No description or website provided.
Stars: ✭ 13 (-63.89%)
Mutual labels:  flake8
flake8-import-order-spoqa
Spoqa's import order style for flake8-import-order
Stars: ✭ 15 (-58.33%)
Mutual labels:  flake8
flake8-broken-line
🚨 Flake8 plugin to forbid backslashes (\) for line breaks
Stars: ✭ 85 (+136.11%)
Mutual labels:  flake8
flake8-mypy
A plugin for flake8 integrating Mypy.
Stars: ✭ 103 (+186.11%)
Mutual labels:  flake8
flake8-simplify
❄ A flake8 plugin that helps you to simplify code
Stars: ✭ 97 (+169.44%)
Mutual labels:  flake8
rubric
Linter Config Initializer for Python
Stars: ✭ 21 (-41.67%)
Mutual labels:  flake8
Elements Of Python Style
Goes beyond PEP8 to discuss what makes Python code feel great. A Strunk & White for Python.
Stars: ✭ 3,308 (+9088.89%)
Mutual labels:  flake8
flake8-cognitive-complexity
An extension for flake8 that validates cognitive functions complexity
Stars: ✭ 44 (+22.22%)
Mutual labels:  flake8
flake8-assertive
Flake8 unittest assert method checker
Stars: ✭ 30 (-16.67%)
Mutual labels:  flake8
flake8-alfred
Alfred is a flake8 plugin to warn on unsafe/obsolete symbols.
Stars: ✭ 26 (-27.78%)
Mutual labels:  flake8
flake8-annotations
Flake8 Type Annotation Checking
Stars: ✭ 117 (+225%)
Mutual labels:  flake8
google classroom
Google Classroom Data Pipeline
Stars: ✭ 17 (-52.78%)
Mutual labels:  flake8
flake8-docstrings
Integration of pydocstyle and flake8 for combined linting and reporting
Stars: ✭ 73 (+102.78%)
Mutual labels:  flake8
dlint
Dlint is a tool for encouraging best coding practices and helping ensure Python code is secure.
Stars: ✭ 130 (+261.11%)
Mutual labels:  flake8
autoflake8
Tool to automatically fix some issues reported by flake8 (forked from autoflake).
Stars: ✭ 14 (-61.11%)
Mutual labels:  flake8
Wemake Python Styleguide
The strictest and most opinionated python linter ever!
Stars: ✭ 1,714 (+4661.11%)
Mutual labels:  flake8
flake8-type-checking
Flake8 plugin for managing type-checking imports & forward references.
Stars: ✭ 38 (+5.56%)
Mutual labels:  flake8
python-lint
GitHub Action for Lint your code
Stars: ✭ 57 (+58.33%)
Mutual labels:  flake8
flake8-functions
flake8 plugin for validation of function parameters (length, complexity, etc)
Stars: ✭ 32 (-11.11%)
Mutual labels:  flake8
flake8-sql
Flake8 plugin that checks SQL code against opinionated style rules
Stars: ✭ 25 (-30.56%)
Mutual labels:  flake8

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]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].