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 toolshiss --check
prevent the files to be modified by formattershiss --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 hashes)