معرفی شرکت ها


flake8-multiline-containers-0.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Ensure a consistent format for multiline containers.
ویژگی مقدار
سیستم عامل -
نام فایل flake8-multiline-containers-0.0.9
نام flake8-multiline-containers
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Joshua Fehler
ایمیل نویسنده jsfehler@gmail.com
آدرس صفحه اصلی https://github.com/jsfehler/flake8-multiline-containers
آدرس اینترنتی https://pypi.org/project/flake8-multiline-containers/
مجوز MIT
=========================== flake8-multiline-containers =========================== .. image:: https://img.shields.io/pypi/v/flake8-multiline-containers.svg :target: https://pypi.org/project/flake8-multiline-containers :alt: PyPI .. image:: https://img.shields.io/pypi/pyversions/flake8-multiline-containers.svg :alt: PyPI - Python Version :target: https://github.com/jsfehler/flake8-multiline-containers .. image:: https://img.shields.io/github/license/jsfehler/flake8-multiline-containers.svg :alt: GitHub :target: https://github.com/jsfehler/flake8-multiline-containers/blob/master/LICENSE .. image:: https://pyup.io/repos/github/jsfehler/flake8-multiline-containers/shield.svg :target: https://pyup.io/repos/github/jsfehler/flake8-multiline-containers :alt: Updates .. image:: https://github.com/jsfehler/flake8-multiline-containers/actions/workflows/main.yml/badge.svg :target: https://github.com/jsfehler/flake8-multiline-containers/actions/workflows/main.yml :alt: Build status A `Flake8 <https://flake8.readthedocs.io/en/latest/index.html>`_ plugin to ensure a consistent format for multiline containers. Installation ------------ Install from ``pip`` with: .. code-block:: sh pip install flake8-multiline-containers Rules ----- ===== ==== Code Rule ===== ==== JS101 Multi-line container not broken after opening character JS102 Multi-line container does not close on same column as opening ===== ==== Examples -------- .. code-block:: python # Right: Opens and closes on same line foo = {'a': 'hello', 'b': 'world'} # Right: Line break after parenthesis, closes on same column as opening foo = { 'a': 'hello', 'b': 'world', } # Right: Line break after parenthesis, closes on same column as opening foo = [ 'hello', 'world', ] # Wrong: JS101 foo = {'a': 'hello', 'b': 'world', } # Wrong: JS101, JS102 foo = {'a': 'hello', 'b': 'world'} # Wrong: JS101, JS102 foo = {'hello', 'world' }


نیازمندی

مقدار نام
>=3.7.9 flake8
>=19.3.0 attrs


نحوه نصب


نصب پکیج whl flake8-multiline-containers-0.0.9:

    pip install flake8-multiline-containers-0.0.9.whl


نصب پکیج tar.gz flake8-multiline-containers-0.0.9:

    pip install flake8-multiline-containers-0.0.9.tar.gz