A linter to manage your exception like a PRO!
Project description
Manage your exceptions in Python like a PRO
Currently in BETA (and very flaky). Inspired by this blog post.
“For those who like dinosaurs 🦖 and clean try/except ✨ blocks.”
Installation and usage
Installation
pip install tryceratops
Usage
tryceratops [filename or dir]
You can enable experimental analyzers by running:
tryceratops --experimental [filename or dir]
Violations
All violations and its descriptions can be found in docs.
Pre-commit
If you wish to use pre-commit, add this:
- repo: https://github.com/guilatrova/tryceratops
rev: v0.1.3
hooks:
- id: tryceratops
License
MIT
Credits
Thanks to God for the inspiration 🙌 ☁️ ☀️
Logo icon was made by https://www.freepik.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tryceratops-0.1.6.tar.gz
(540.0 kB
view hashes)
Built Distribution
Close
Hashes for tryceratops-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7babd95b7ceeba47d7b37f95cba1cbdd23be4e8a903dea3e8ddbdcb6374b94c6 |
|
MD5 | e5e2ceb90c76f8dfb8ac08aaeafa2a45 |
|
BLAKE2b-256 | 9bc55e3f846de85ecd35154c1ba9e0a2aa6e4accee5b426388f5334bee78742f |