معرفی شرکت ها


flake8-no-print-0.1.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Flake8 plugin to forbid print function usage
ویژگی مقدار
سیستم عامل -
نام فایل flake8-no-print-0.1.1
نام flake8-no-print
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Vladimir Yahello
ایمیل نویسنده vyahello@gmail.com
آدرس صفحه اصلی https://github.com/vyahello/flake8-no-print
آدرس اینترنتی https://pypi.org/project/flake8-no-print/
مجوز -
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) [![Coverage Status](https://coveralls.io/repos/github/vyahello/flake8-no-print/badge.svg?branch=master)](https://coveralls.io/github/vyahello/flake8-no-print?branch=master) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Checked with flake8](https://img.shields.io/badge/flake8-checked-blue)](http://flake8.pycqa.org/) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE.md) [![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org) # flake8-no-print > A simple flake8 plugin that forbids the usage of `print` functions in production code. ## Tools ### Production - python 3.8+ - [flake8](http://flake8.pycqa.org/en/latest/) ### Development - [black](https://black.readthedocs.io/en/stable/) - [flake8](http://flake8.pycqa.org/en/latest/) - [pytest](https://docs.pytest.org/en/7.0.x/) ## Usage ### Installation ```bash pip install flake8-no-print ✨ 🍰 ✨ ``` ### Quick start ```python # foo.py def bar(*a): print(a) return 0 ``` ```bash flake8 foo.py foo.py:2:5: NP100 "print()" function usage is forbidden, please consider using "logging" module ``` ### Source code ```bash git clone git@github.com:vyahello/flake8-no-print.git cd flake8-no-print python3 -m venv venv . venv/bin/activate pip install -e . ``` **[⬆ back to top](#flake8-no-print)** ## Warnings `NP100` - print function is forbidden. ## Development notes ### Testing Please run the following script to start plugin tests: ```bash pytest ``` ### CI To be able to run code analysis, please execute command below: ```bash ./analyse-source-code.sh ``` ### Meta Author – _Vladimir Yahello_. Distributed under the `MIT` license. See [license](LICENSE.md) for more information. You can reach out me at: * [vyahello@gmail.com](vyahello@gmail.com) * [https://twitter.com/vyahello](https://twitter.com/vyahello) * [https://www.linkedin.com/in/volodymyr-yahello-821746127](https://www.linkedin.com/in/volodymyr-yahello-821746127) ### Contributing I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps: 1. Clone the repository 2. Configure `git` for the first time after cloning with your `name` and `email` 3. `pip install -r requirements.txt` to install all project dependencies 4. `pip install -r requirements-dev.txt` to install all development project dependencies 5. Create your feature branch (git checkout -b feature/fooBar) 6. Commit your changes (git commit -am 'Add some fooBar') 7. Push to the branch (git push origin feature/fooBar) 8. Create a new Pull Request ### What's next All recent activities and ideas are described at project [issues](https://github.com/vyahello/flake8-no-print/issues) page. If you have ideas you want to change/implement please do not hesitate and create an issue. **[⬆ back to top](#flake8-no-print)**


نیازمندی

مقدار نام
==4.0.1 flake8
==2.1.0 astpretty


نحوه نصب


نصب پکیج whl flake8-no-print-0.1.1:

    pip install flake8-no-print-0.1.1.whl


نصب پکیج tar.gz flake8-no-print-0.1.1:

    pip install flake8-no-print-0.1.1.tar.gz