Skip to main content

Run the relevant tools for a repository

Project description

Sir Hiss

Automatically run the relevant tool (pylint, mypy, pytest, ...) for the current repository.

Tools are detected by peeking at configuration files (pyproject.toml, .pylintrc, ...).

Usage

From the root of a python project:

  • hiss will run the tools
  • hiss --check prevent the files to be modified by formatters
  • hiss --fast will skip slowest tools (mostly tests)
  • hiss --preview will print the list of tools found in the repository

Why this (stupid) name

Sir Hiss is the name of the snake in "Robin Hood" animated movie. He has a lot of interesting advice to give to the king but he is never listened to ... I hope you don't treat your linter like that ^^

Supported tools

  • black
  • flake
  • isort
  • mypy
  • nosetest
  • pylint
  • pytest

Please suggest more tools :-)

TODO

  • Read requirements.txt
  • Decide if we should try to read tox.ini. Tox also allow to launch several tools in diferrent environments and there is some overlap with hiss.
  • Add installation instructions

To consider

  • Display diff on failure
  • Share some options

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

sir_hiss-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

sir_hiss-0.0.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file sir_hiss-0.0.3.tar.gz.

File metadata

  • Download URL: sir_hiss-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Darwin/19.3.0

File hashes

Hashes for sir_hiss-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a6e2d028494bb6d0f44c9d740464e55445250ed3cd37ca676f8a31d62207a71a
MD5 593314206da6ce51abcf41278189d7f8
BLAKE2b-256 e1d98fff2b2e65da1422df8c23000e12c2820fe658a6184ced1f30238eeffccf

See more details on using hashes here.

File details

Details for the file sir_hiss-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sir_hiss-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Darwin/19.3.0

File hashes

Hashes for sir_hiss-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa278da2d8e30c3d91360ff4de6facecbf0a8fd0fe85cf4d222f62bac35008db
MD5 b04147ef748b44a70844ad7ecdcef9d8
BLAKE2b-256 e115cec53cf7ff9c61a57e1add281c46282506016c186bffce071fb6c331e518

See more details on using hashes here.

Supported by

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