معرفی شرکت ها


comform-0.1.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Python Comment Conformity Formatter
ویژگی مقدار
سیستم عامل -
نام فایل comform-0.1.1
نام comform
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده j-hil <92876062+j-hil@users.noreply.github.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/comform/
مجوز GNU General Public License v3 (GPLv3)
# ComForm: Python Comment Conformity Formatter [![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) [![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/) An auto-formatter for pretty and readable comment formatting in python. WARNING: `comform` is made for my own usage so it's not been tested in a variety of environments. Use it on your own code at peril `;)`. Comments are formatted as markdown text using the fantastic [`mdformat`](https://github.com/executablebooks/mdformat) package. Treating comments as markdown has drawbacks, but I've found these to be outweighed. ## Usage This package can be installed from PyPI as usual via `pip install comform` and is meant to be used as a command line tool. It can also be used as a `pre-commit` hook. Whichever way `comform` is used I recommend running `black` first; it was mainly developed for this use-case. The command line interface is: ```ps1 comform [-h] [--version] [--check] [--align] [--dividers] [--wrap N] paths [paths ...] ``` and inputs can also be configured in `pyproject.toml`: ```toml [tool.comform] # these are the default values: check = false align = false dividers = false wrap = 88 ``` `check`, `align` and `dividers` are considered enabled if they are set in the CLI **or** the config. If `wrap` is set in both then the CLI takes priority. To use `comform` as a `pre-commit` hook add the following to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/j-hil/comform rev: 0.1.1 hooks: - id: comform ``` ## Development Too see my development process see [development.md](./docs/development.md).


نیازمندی

مقدار نام
- mdformat<1,>=0.7.16
- pathspec<1,>=0.11
ython_versio tomli<3,>=2;
xtr autoflake<3,>=2;
xtr black<24,>=23;
xtr build<1,>=0.9.0;
xtr coverage[toml]<8,>=7;
xtr flake8-pyproject<2,>=1.2;
xtr ipykernel<7,>=6.21;
xtr ipython<9,>=8.10;
xtr isort<6,>=5.12;
xtr mypy<2,>=1;
xtr pre-commit<4,>=3;
xtr pydocstringformatter<1,>=0.7.2;
xtr pydocstyle[toml]<7,>=6.3;
xtr pylint<3,>=2.16;
xtr pytest<8,>=7.2;
xtr twine<5,>=4.0.1;


نحوه نصب


نصب پکیج whl comform-0.1.1:

    pip install comform-0.1.1.whl


نصب پکیج tar.gz comform-0.1.1:

    pip install comform-0.1.1.tar.gz