Send error from a Pyramid application to Bugsnag
$ pip install pyramid_bugsnagInclude pyramid_bugsnag either in your paster config:
[app:main]
pyramid.includes = pyramid_bugsnagor on your Pyramid configurator:
config = Configurator()
config.include('pyramid_bugsnag')The Bugsnag client can be configured through the Paster settings:
bugsnag.api_key = 0123456789abcdef0123456789abcdef
bugsnag.release_stage = production
bugsnag.notify_release_stages = stage production
bugsnag.ignore_classes =
KeyboardInterrupt
pyramid.httpexceptions.HTTPNotFound
bugsnag.send_code = trueBut nothing stops you from configuring the client directly:
bugsnag.configure(api_key='0123456789abcdef0123456789abcdef')Full list of options on docs.bugsnag.com
Development dependencies are managed by Pipenv
Install Pipenv:
$ pip install pipenvCreate/update your development environment:
$ pipenv install --dev
...
$ pipenv shell
(new shell)
$Run the tests:
$ pytest -vRun the linters:
$ pylama