Skip to main content

flake8-broken-line

wemake.services Build Status Coverage Python Version PyPI version wemake-python-styleguide

Do not break the line! 🚨

Installation

pip install flake8-broken-line

Code example

Things we check with this plugin:

# String line breaks, use `()` or `"""` instead:

some_string = 'first line\
second line'

# Use a single line, `()`, or new variables instead:

if 1 == 1 and \
    2 == 2:
    print('Do not do that!')

# Do not reimplement chaining:
some_object \
  .call_method() \
  .call_other() \
  .finalize()

Error codes

Error code Description
N400 Found backslash that is used for line breaking

License

MIT.

Metadata

Release files for flake8-broken-line 0.1.1

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-broken-line 0.1.1
File Size Uploaded Provenance Actions
flake8-broken-line-0.1.1.tar.gz 3.5 kB Without provenance Details for flake8-broken-line-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flake8-broken-line 0.1.1
File Interpreter ABI Platform Actions
flake8_broken_line-0.1.1-py3-none-any.whl Python 3 none any Details for flake8_broken_line-0.1.1-py3-none-any.whl

Total release size: 7.9 kB

Release files / flake8-broken-line-0.1.1.tar.gz

Download URL flake8-broken-line-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
30378a3749911e453d0a9e03204156cbbd35bcc03fb89f12e6a5206e5baf3537
BLAKE2b-256 checksum
How to use checksums
11fe2342935e75085fb496984fed56ab050979bfedec89f82bf5fccb982635e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.3 Darwin/18.6.0

Release files / flake8_broken_line-0.1.1-py3-none-any.whl

Download URL flake8_broken_line-0.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7721725dce3aeee1df371a252822f1fcecfaf2766dcf5bac54ee1b3f779ee9d1
BLAKE2b-256 checksum
How to use checksums
eff6bdbd3edbda7f673dab4a3850dac05d83948621ce0782160cdcd72a1e7e30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.3 Darwin/18.6.0

Security for flake8-broken-line 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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