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.8.tar.gz
(540.5 kB
view details)
Built Distribution
File details
Details for the file tryceratops-0.1.8.tar.gz
.
File metadata
- Download URL: tryceratops-0.1.8.tar.gz
- Upload date:
- Size: 540.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6ef1786aad7bcf34ded5394664c1bb9bb05642f06241203e2e874c1e99bd74 |
|
MD5 | 4b0066ca8c30aad9d2bb954c221b0e55 |
|
BLAKE2b-256 | 8d56e0058e210fcd3965d8692c3ea49378f7d422f1a3b901fbcc4a7e4882a6a4 |
File details
Details for the file tryceratops-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: tryceratops-0.1.8-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6135b331499f90925bd83239a1efeef6b879661fb4d0f0d836cd697eb41010 |
|
MD5 | 7d3df0225a30fbf6438744506901dbbf |
|
BLAKE2b-256 | 34b5819f8d375137e3e5bac42184eba9af19a827be86e523c6dd61027cb17181 |