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:
hisswill run the toolshiss --checkprevent the files to be modified by formattershiss --fastwill skip slowest tools (mostly tests)hiss --previewwill 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
Metadata
Release files for sir-hiss 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sir_hiss-0.0.4.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sir_hiss-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / sir_hiss-0.0.4.tar.gz
| Download URL | sir_hiss-0.0.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
022d94030002084c7fc1cf6852fc5fc6b5f950aac9b5f7f7c173a74358c164a9
|
|
BLAKE2b-256 checksum How to use checksums |
270635b4910acf1f7fbb5e4a1247fd701398cdf7fdddb37aff4862d58f4a6173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.4 Darwin/19.3.0
|
Release files / sir_hiss-0.0.4-py3-none-any.whl
| Download URL | sir_hiss-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d6393375f3233da694a028d3b3739351b28a939c381a1409aed7ec9cf276fba
|
|
BLAKE2b-256 checksum How to use checksums |
2364fa259d1d6e06ef961598bea7b7e1cb640164f467e31e78325e4e0896830b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.7.4 Darwin/19.3.0
|