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.45-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5828c3466a12ddc64971c65430c82d0544b445d3e756dad4a4a703d80ac9c4a9 |
|
MD5 | 951b8f4e6923dfeddbd66fdd7cc9fd80 |
|
BLAKE2b-256 | b852622ad2fa978a445e1492e675387608bd49a34dbd4a96ad73b09d441d751c |