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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sir_hiss-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 823c68927b763192d515d5ae8fafe9314a823ded60b65ffe425c644d1ec5cf81
MD5 e41e182bde900f7601af9a4e59d3d0d5
BLAKE2b-256 f0f3b6da2433b250b18d43087c7bbba37f624483067479e28fe8744f35378081

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sir_hiss-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1218888696041c3b695987c53642a1410d77bd3fb03ab31536994c8a6a46dfe
MD5 994f829d84256c3256102fff42e6dcc9
BLAKE2b-256 dd4d133a471cb5b60cea1369033d030fe638e87b61f00f8ba5a55af696159cb6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.4

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

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