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.7.tar.gz
(540.4 kB
view details)
Built Distribution
File details
Details for the file tryceratops-0.1.7.tar.gz
.
File metadata
- Download URL: tryceratops-0.1.7.tar.gz
- Upload date:
- Size: 540.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd65cd2f5ce9c87714c072893bd03764760572939903645ab06198f9f26e09db |
|
MD5 | 8c3ddc5397064e5b8b61d8479e8fa4d3 |
|
BLAKE2b-256 | 9aba0896ef9baba1247295875d3300fc12ab127fa03c251e3b1efe307faab830 |
File details
Details for the file tryceratops-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: tryceratops-0.1.7-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842cca94873b1d9f6465e1893d4a46de8ff94c9e74cbcc24be2565e88f6ebdd0 |
|
MD5 | b94315a2e1f93f3c91bde2722e915220 |
|
BLAKE2b-256 | 56634c326d78eb1f98125241d9c10a4f9947a0da5b989b63489035489abd016f |