Skip to main content

flake8-strings

pypi Python: 3.6+ Downloads Build Status Code coverage License: MIT Code style: black

Description

Flake8 Linter for Strings

Checks:

  • STR001: Unnecessary use of backslash escaping

e.g:

Bad:

path = 'C:\\Users\\root'

Good:

path = r'C:\Users\root'

Installation

pip install flake8-strings

Usage

flake8 <your code>

For developers

Create venv and install deps

make init

Install git precommit hook

make precommit_install

Run linters, autoformat, tests etc.

make pretty lint test

Bump new version

make bump_major
make bump_minor
make bump_patch

License

MIT

Change Log

Unreleased

  • ...

0.1.1 - 2020-03-14

  • ...

0.1.0 - 2020-03-14

  • initial

Metadata

Release files for flake8-strings 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-strings 0.1.1
File Size Uploaded Provenance Actions
flake8-strings-0.1.1.tar.gz 3.3 kB Without provenance Details for flake8-strings-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / flake8-strings-0.1.1.tar.gz

Download URL flake8-strings-0.1.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
98705bab303768f4117b32a67f7937c22e3f3ae60e1aff45f02095a20dbbfcc4
BLAKE2b-256 checksum
How to use checksums
8cce33996b7efbd015a005f850063d2fb239fe8983abeba5ceb438676facf5c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

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

Download URL flake8_strings-0.1.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1702e52469150efb5ac5d92f50ce1bb9da48397b7a1d6414e81b60dbe87cf44
BLAKE2b-256 checksum
How to use checksums
12fb531ff6b1b946d1b560ad571fe0e1b93cd6d46c05198937605b8b03ac53da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Security for flake8-strings 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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