معرفی شرکت ها


codestyle-0.4.3


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Extendable codestyle checker and fixer
ویژگی مقدار
سیستم عامل -
نام فایل codestyle-0.4.3
نام codestyle
نسخه کتابخانه 0.4.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sergey Levitin
ایمیل نویسنده selevit@gmail.com
آدرس صفحه اصلی https://github.com/webpp-studio/codestyle
آدرس اینترنتی https://pypi.org/project/codestyle/
مجوز GPLv3
Codestyle checker ================= .. image:: https://travis-ci.org/webpp-studio/codestyle.svg?branch=master :target: https://travis-ci.org/webpp-studio/codestyle This script checks and auto fixes codestyle for all supported languages: 1. PHP (phpcs) 2. Python (flake8) 3. Javascript (jscs and jshint) 4. CSS (csscomb) 5. HTML (htmlcs) Installation ------------ :: # First install the pip, npm and pear package managers # Example for debian sudo apt-get install python-pip npm php-pear # Install codestyle and dependencies pip install codestyle npm install -g jshint jscs-fixer csscomb htmlcs walk brace-expansion pear install PHP_CodeSniffer Usage ----- :: usage: codestyle [-h] [-I] [-i] [-c] [-s standard-dir] [-l language name] [-e glob pattern [glob pattern ...]] target [target ...] Check and fix a code style positional arguments: target files for a checking optional arguments: -h, --help show this help message and exit -i, --fix auto fix codestyle errors if possible -c, --compact Show a compact output -s standard-dir, --standard standard-dir A path to a coding standard directory -l language name, --language language name force set the language for a checking -x glob pattern [glob pattern ...], --exclude glob pattern [glob pattern ...] Exclude paths/files from checking Example ------- :: # check all supported files in directory recursive codestyle /path/to/project/dir # check set of files codestyle test.js test.php test.py # test directory with exclude rules codestyle /path -x '*.html' './tests/excluded_dir' # check file and try to fix errors codestyle -i test.js # check project with compact output (no detail errors information) codestyle -c /path/to/project/dir # check all project and save full report to file codestyle /path/to/project &> report.txt Dependencies ------------ 1. phpcs 2. phpcbf 3. jshint (NodeJS) 4. jscs-fixer (NodeJS) 5. jscs (NodeJS) 6. flake8 7. csscomb (NodeJS) 8. htmlcs >= 0.1.4 (NodeJS) 9. walk (NodeJS) 10. brace-expansion (NodeJS) Usage from the docker container ------------------------------- Also you can use `the docker container <https://hub.docker.com/r/webpp/codestyle>`_ with all installed dependencies.


نحوه نصب


نصب پکیج whl codestyle-0.4.3:

    pip install codestyle-0.4.3.whl


نصب پکیج tar.gz codestyle-0.4.3:

    pip install codestyle-0.4.3.tar.gz