Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.