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.0.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.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sir_hiss-0.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b930e403ab20f9e86f9e5e64bd05cd708990ccb548517763a47d0273a0725b39
MD5 55a244a5138a85281bcf8cf3cc21a7c4
BLAKE2b-256 6e1efb38abdd8d83f87f5e70051375536560e41e83892413f98ed3a6123c6fa1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sir_hiss-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4195a5434a1ad431863bcd08c4285a4a2556345465a774f7755ebb4a513387f4
MD5 feb7e7f2231b6eaa32c6feae95149634
BLAKE2b-256 45d874ec285c3e24a9b6347fc088c3eeed61c3c885d31bf98ed47c93ee19cb36

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

0.0.1

2 files

This release

0.0.0 This release

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