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.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

sir_hiss-0.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sir_hiss-0.0.4.tar.gz
  • Upload date:
  • Size: 4.6 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.4.tar.gz
Algorithm Hash digest
SHA256 022d94030002084c7fc1cf6852fc5fc6b5f950aac9b5f7f7c173a74358c164a9
MD5 6677c500b8661eb7755316dbea2799b3
BLAKE2b-256 270635b4910acf1f7fbb5e4a1247fd701398cdf7fdddb37aff4862d58f4a6173

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sir_hiss-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6393375f3233da694a028d3b3739351b28a939c381a1409aed7ec9cf276fba
MD5 97e11add04362b3c3495783ba3127bfd
BLAKE2b-256 2364fa259d1d6e06ef961598bea7b7e1cb640164f467e31e78325e4e0896830b

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page