معرفی شرکت ها


fix8-0.1.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Automatic fix for Python linting issues found by Flake8
ویژگی مقدار
سیستم عامل -
نام فایل fix8-0.1.5
نام fix8
نسخه کتابخانه 0.1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Peter Law
ایمیل نویسنده PeterJCLaw@gmail.com
آدرس صفحه اصلی https://github.com/PeterJCLaw/fix8
آدرس اینترنتی https://pypi.org/project/fix8/
مجوز -
# Fix8 [![CircleCI](https://circleci.com/gh/PeterJCLaw/fix8.svg?style=svg)](https://circleci.com/gh/PeterJCLaw/fix8) Automatic fix for Python linting issues found by [Flake8](https://flake8.pycqa.org/). ## Fixes * `F401`: Unused imports are removed. (If doing so would create a blank line at the start of the file then the next line is also removed). * `C812`, `C813`, `C814`, `C815`, `C816`: Trailing commas are added * `LBL001`: Leading blank lines are removed. ## Install ``` bash pip install fix8 ``` ## Configuration Fix8 will only fix issues that flake8 finds, so your existing flake8 configuration (including which plugins you have installed) will determine what gets fixed. ## Usage `fix8` wraps `flake8`, so takes the same arguments. The easist way to use it is to pass the files or directories you want fixed directly to it: ``` bash fix8 project/ that.py this.py ``` ### Wrappers If you have a large project you may want to wrap it, something like this: ``` bash fix8-local() { git diff --name-only --diff-filter=d | grep '\.py$' | sort --unique | xargs --no-run-if-empty fix8 } ``` This can be paired with `isort` to do both fixes with a single command: ``` bash # Put these functions in your `.bashrc` or similar run-py-local() { git diff --name-only --diff-filter=d | grep '\.py$' | sort --unique | xargs --no-run-if-empty "$@" } fix8-local() { run-py-local fix8 && run-py-local isort } # Usage is then just this, but will detect and fix any changes that might need fixing $ fix8-local ```


نیازمندی

مقدار نام
- flake8
- parso


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl fix8-0.1.5:

    pip install fix8-0.1.5.whl


نصب پکیج tar.gz fix8-0.1.5:

    pip install fix8-0.1.5.tar.gz