معرفی شرکت ها


flake8-too-many-0.1.5


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A flake8 plugin that prevents you from writing "too many" bad codes.
ویژگی مقدار
سیستم عامل -
نام فایل flake8-too-many-0.1.5
نام flake8-too-many
نسخه کتابخانه 0.1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Queensferry
ایمیل نویسنده queensferry.me@gmail.com
آدرس صفحه اصلی https://github.com/queensferryme/flake8-too-many
آدرس اینترنتی https://pypi.org/project/flake8-too-many/
مجوز MIT
# flake8-too-many [![python: 3.7+](https://img.shields.io/badge/python->=3.7-blue.svg)](https://www.python.org/downloads/) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/queensferryme/flake8-too-many/master.svg)](https://results.pre-commit.ci/latest/github/queensferryme/flake8-too-many/master) [![github ci status](https://img.shields.io/github/workflow/status/queensferryme/flake8-too-many/Test?label=test&logo=github&message=passed)](https://github.com/RSSerpent/RSSerpent/actions/workflows/test.yaml) [![codecov](https://codecov.io/gh/queensferryme/flake8-too-many/branch/master/graph/badge.svg?token=56VCCB1JUB)](https://codecov.io/gh/queensferryme/flake8-too-many) A flake8 plugin that prevents you from writing "too many" bad codes. ## Installation with `pip` ```shell pip install flake8-too-many ``` with [`poetry`](https://python-poetry.org/) ```shell poetry add -D flake8-too-many ``` with [`pre-commit`](https://pre-commit.com/) ([doc](https://flake8.pycqa.org/en/latest/user/using-hooks.html)) ```yaml repos: - repo: https://github.com/PyCQA/flake8 rev: '' # pick a git hash/tag hooks: - id: flake8 additional_dependencies: # ... - flake8-too-many ``` ## Error Codes | code | description | example | | ------ | ---------------------------------------- | ------------------------------------------------------------ | | TMN001 | function has too many arguments. | [link](https://github.com/queensferryme/flake8-too-many/blob/master/tests/files/function_arguments.py) | | TMN002 | function returns too many values. | [link](https://github.com/queensferryme/flake8-too-many/blob/master/tests/files/function_return_values.py) | | TMN003 | function has too many return statements. | [link](https://github.com/queensferryme/flake8-too-many/blob/master/tests/files/function_return_stmts.py) | | TMN004 | unpacking has too many targets. | [link](https://github.com/queensferryme/flake8-too-many/blob/master/tests/files/unpacking_targets.py) | ## Options These options could be either passed in as command line flags, or specified in a `.flake8` configuration file. * `--max-function-arguments`, int, default to 6; * `--ignore-defaulted-arguments`, bool, default to false; * `--max-function-return-values`, int, default to 3; * `--max-function-return-stmts`, int, default to 3; * `--max-unpacking-targets`, int, default to 3. Run `flake8 -h` for detailed description of each option.


نیازمندی

مقدار نام
>=0.8,<0.9) dataclasses
>=5.0.0,<6.0.0 flake8


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

مقدار نام
>=3.7.0,<4.0.0 Python


نحوه نصب


نصب پکیج whl flake8-too-many-0.1.5:

    pip install flake8-too-many-0.1.5.whl


نصب پکیج tar.gz flake8-too-many-0.1.5:

    pip install flake8-too-many-0.1.5.tar.gz