-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from samstav/master
packaging and CI refactor
- Loading branch information
Showing
15 changed files
with
259 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"""Airbrake-Python package attributes and metadata.""" | ||
|
||
__all__ = ( | ||
'__title__', | ||
'__summary__', | ||
'__author__', | ||
'__email__', | ||
'__version__', | ||
'__keywords__', | ||
'__license__', | ||
'__url__', | ||
'__notifier__', | ||
) | ||
|
||
__title__ = 'airbrake' | ||
__summary__ = 'Python SDK for airbrake.io' | ||
__author__ = 'BK Box, Sam Stavinoha' | ||
__email__ = 'samuel.stavinoha@rackspace.com' | ||
__version__ = '1.1.3' | ||
__keywords__ = ['airbrake', 'exceptions', 'airbrake.io'] | ||
__license__ = 'Apache License, Version 2.0' | ||
__url__ = 'https://github.com/airbrake/airbrake-python' | ||
__notifier__ = { | ||
'name': 'airbrake-python', | ||
'version': __version__, | ||
'url': __url__, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Airbrake-Python custom exceptions.""" | ||
|
||
|
||
class AirbrakeException(Exception): | ||
|
||
"""Base class for errors thrown by airbrake-python.""" | ||
|
||
|
||
class AirbrakeNotConfigured(AirbrakeException): | ||
|
||
"""The client was not given id and key nor found in env.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
machine: | ||
python: | ||
version: '2.7.10' | ||
|
||
dependencies: | ||
override: | ||
- pip -V | ||
- pip install -U pip | ||
- pip install -U tox tox-pyenv | ||
- pyenv local 2.7.9 3.3.3 3.4.3 3.5.0 | ||
|
||
test: | ||
override: | ||
- tox -v --recreate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[Messages Control] | ||
disable= | ||
bad-builtin, | ||
locally-disabled, | ||
fixme, | ||
|
||
[BASIC] | ||
# Don't require docstrings on tests or Python Special Methods | ||
no-docstring-rgx=(__.*__|[tT]est.*|setUp|tearDown) | ||
# Some names we are okay with | ||
good-names=f,e,i,j,k,v,ex,_,x,y,z,kw | ||
# No camel case globals, max length 30 | ||
const-rgx=(^([A-Za-z_](?!(([A-Z][a-z0-9]+)+))){2,30}$) | ||
max-args = 7 | ||
max-attributes = 8 | ||
|
||
[REPORTS] | ||
msg-template={msg_id}({symbol}): {path},{line}: {msg} | {obj} | ||
reports=yes | ||
output-format=colorized |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
requests==2.3.0 | ||
wsgiref==0.1.2 | ||
requests==2.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[wheel] | ||
universal = 1 |
Oops, something went wrong.