Skip to main content

A linter to manage your exception like a PRO!

Project description

Manage your exceptions in Python like a PRO

PyPI Code style: black Downloads

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]

example

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tryceratops-0.1.6-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file tryceratops-0.1.6.tar.gz.

File metadata

  • Download URL: tryceratops-0.1.6.tar.gz
  • Upload date:
  • Size: 540.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for tryceratops-0.1.6.tar.gz
Algorithm Hash digest
SHA256 75ced787912d3344f98a22da84dccddc73f7e52436735b3b6e42654f6643afe7
MD5 a13cd2bf96b2da185784ad443ec1b9c4
BLAKE2b-256 8b661e61b458ef7821dfa933c4e496f918410d0a025a018a9d377ae46ef8b5da

See more details on using hashes here.

File details

Details for the file tryceratops-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tryceratops-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for tryceratops-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7babd95b7ceeba47d7b37f95cba1cbdd23be4e8a903dea3e8ddbdcb6374b94c6
MD5 e5e2ceb90c76f8dfb8ac08aaeafa2a45
BLAKE2b-256 9bc55e3f846de85ecd35154c1ba9e0a2aa6e4accee5b426388f5334bee78742f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page