Shortcuts for python devs.
Project description
[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/flowtool-python.svg)](https://pypi.python.org/pypi/flowtool-python) [![PyPI Latest Version](https://img.shields.io/pypi/v/flowtool-python.svg)](https://pypi.python.org/pypi/flowtool-python) [![PyPI Distribution Format](https://img.shields.io/pypi/format/flowtool-python.svg)](https://pypi.python.org/pypi/flowtool-python)
# flowtool-python
A collection of functions helpful for python development.
## Contents
The flowtool-python package currently contains one new command for flowtool:
py-clean - recursively cleans temporary files (*.pyc) and directories (__pycache__).
Secondly it brings some git hooks:
pylint-minimal - (pre-commit, commit-msg) - checks all python source files added to the commit with pylint and a minimalistic config
pylint-commit-range - (pre-push) - checks all python source files that differ from origin/master on push
pytest-hook - (pre-commit, commit-msg) - run pytest in all dirs containing a pytest.ini or tox.ini
The hooks can be installed via the flowtool-githooks manager:
`shell flowtool githooks-install flowtool githooks-scripts --hook pre-commit --add _flowtool_githooks.demo flowtool githooks-scripts --hook commit-msg --add _flowtool_githooks.demo flowtool githooks-scripts --hook pre-push --add _flowtool_githooks.demo `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flowtool_python-0.7.44-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44526a8e7c7dba3a39e86a435a247982caaa9e195779375467416bbfb55ddbb8 |
|
MD5 | 73945fb55cc37b3b63ce977084f3e24a |
|
BLAKE2b-256 | 516066ab9910d77c8d2f449841858f27ea7d752060902ea5f9d99c8d644c4261 |