Skip to main content

Shortcuts for python devs.

Project description

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowtool-python-0.7.36.tar.gz (8.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page