flake8-strings-0.1.1
توضیحات
Flake8 Linter for Strings
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flake8-strings-0.1.1 |
| نام | flake8-strings |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | David S |
| ایمیل نویسنده | d1618033@gmail.com |
| آدرس صفحه اصلی | https://pypi.org/project/flake8-strings |
| آدرس اینترنتی | https://pypi.org/project/flake8-strings/ |
| مجوز | MIT |
# flake8-strings
[](https://pypi.org/project/flake8-strings)
[](https://pypi.org/project/flake8-strings)
[](https://pypistats.org/packages/flake8-strings)
[](https://travis-ci.org/d1618033/flake8-strings)
[](https://codecov.io/gh/d1618033/flake8-strings)
[](https://en.wikipedia.org/wiki/MIT_License)
[](https://github.com/ambv/black)
## Description
Flake8 Linter for Strings
### Checks:
* STR001: Unnecessary use of backslash escaping
e.g:
Bad:
```python
path = 'C:\\Users\\root'
```
Good:
```python
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
نیازمندی
| مقدار | نام |
|---|---|
| - | flake8-plugin-utils |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl flake8-strings-0.1.1:
pip install flake8-strings-0.1.1.whl
نصب پکیج tar.gz flake8-strings-0.1.1:
pip install flake8-strings-0.1.1.tar.gz