معرفی شرکت ها


cmakelint-1.4.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Static code checker for CMake files
ویژگی مقدار
سیستم عامل -
نام فایل cmakelint-1.4.2
نام cmakelint
نسخه کتابخانه 1.4.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Richard Quirk
ایمیل نویسنده richard.quirk@gmail.com
آدرس صفحه اصلی https://github.com/cmake-lint/cmake-lint
آدرس اینترنتی https://pypi.org/project/cmakelint/
مجوز Apache 2.0
# CMakeLint [![Build Status](https://travis-ci.org/cmake-lint/cmake-lint.svg?branch=develop)](https://travis-ci.org/cmake-lint/cmake-lint) ![PyPI](https://img.shields.io/pypi/v/cmakelint.svg) ![PyPI - Downloads](https://img.shields.io/pypi/dd/cmakelint.svg) ![PyPI - Downloads](https://img.shields.io/pypi/dm/cmakelint.svg) cmakelint parses CMake files and reports style issues. cmakelint requires Python. ## Installation To install cmakelint from PyPI, run: .. code-block:: bash $ pip install cmakelint ## Usage Syntax: cmakelint [--config=file] [--filter=-x,+y] <file> [file] ... filter=-x,+y,... Specify a comma separated list of filters to apply config=file Use the given file for configuration. By default the file $PWD/.cmakelintrc, ~/.config/cmakelintrc, $XDG_CONFIG_DIR/cmakelintrc or ~/.cmakelintrc is used if it exists. Use the value "None" to use no configuration file (./None for a file called literally None) Only the option "filter=" is currently supported in this file. Run the `--filter=` option with no filter to see available options. Currently these are: convention/filename linelength package/consistency readability/logic readability/mixedcase readability/wonkycase syntax whitespace/eol whitespace/extra whitespace/indent whitespace/mismatch whitespace/newline whitespace/tabs An example .cmakelintrc file would be as follows: filter=-whitespace/indent With this file in your home directory, running these commands would have the same effect: cmakelint.py CMakeLists.txt cmakelint.py --filter=-whitespace/indent CMakeLists.txt cmakelint can also be run with [pre-commit](https://pre-commit.com). Add the following configuration block to your `.pre-commit-config.yaml`: ``` yaml - repo: https://github.com/cmake-lint/cmake-lint hooks: - id: cmakelint ``` # Output status codes The program should exit with the following status codes: * 0 if everything went fine * 1 if an error message was issued * 32 on usage error


نیازمندی

مقدار نام
>=3.7.8 flake8
- flake8-polyfill
>=1.8.4 pylint
>=3.0.0 tox
- tox-pyenv
>=0.12 importlib-metadata
<5.0,>=4.6 pytest
- pytest-cov
- mock
<3 pyparsing
<=0.5.1 zipp
<=3.7.4 configparser
- testfixtures
<5.0,>=4.6 pytest
- pytest-cov
- mock
<3 pyparsing
<=0.5.1 zipp
<=3.7.4 configparser
- testfixtures


نحوه نصب


نصب پکیج whl cmakelint-1.4.2:

    pip install cmakelint-1.4.2.whl


نصب پکیج tar.gz cmakelint-1.4.2:

    pip install cmakelint-1.4.2.tar.gz