Skip to main content

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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sir_hiss-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sir_hiss-0.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.1 Darwin/18.7.0

File hashes

Hashes for sir_hiss-0.0.1.tar.gz
Algorithm Hash digest
SHA256 014d8bc98677efb0ccc8a70718dbc6ccb64f49bc5018f3b0eb6a201ae90b2277
MD5 aa0c2dc0e2da6e96727b4f94116bc6a2
BLAKE2b-256 0c731acec726101308b2e5e93382fbe0fbe449191823778adf105ed6fa84f557

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sir_hiss-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.2 CPython/3.7.1 Darwin/18.7.0

File hashes

Hashes for sir_hiss-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b38248e5b35fdf63e2e33b9f4e2cf94e4726309927a0e7d05a88c8a5c598ea2
MD5 2637f1a4c6c3cd31452286be52b2f357
BLAKE2b-256 a922f771034b08597d52d78d8214b848c3c02beba4b97d60da37f52d3635cb25

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

2 files

0.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page