
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
flake8-multiline-containers
Advanced tools
.. 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.
Install from pip
with:
.. code-block:: sh
pip install flake8-multiline-containers
===== ==== Code Rule ===== ==== JS101 Multi-line container not broken after opening character JS102 Multi-line container does not close on same column as opening ===== ====
.. code-block:: python
foo = {'a': 'hello', 'b': 'world'}
foo = { 'a': 'hello', 'b': 'world', }
foo = [ 'hello', 'world', ]
foo = {'a': 'hello', 'b': 'world', }
foo = {'a': 'hello', 'b': 'world'}
foo = {'hello', 'world' }
FAQs
Ensure a consistent format for multiline containers.
We found that flake8-multiline-containers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.