Skip to content

Commit 50f8fcb

Browse files
author
thomas
authored
Merge pull request #9 from pypyr/dev
README fix subst typo
2 parents 894fe9e + 394942e commit 50f8fcb

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ This will result in sending a message to *#pypyrchannel* with text:
8282

8383
Escape literal curly braces with doubles: {{ for {, }} for }
8484

85-
See a worked example `for substitions here
85+
See a worked example `for substitutions here
8686
<https://github.com/pypyr/pypyr-example/tree/master/pipelines/substitutions.yaml>`__.
8787

8888
Sample pipeline

pypyrslack/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
All pypyrslack specific exceptions derive from pypyr root Error.
44
"""
55

6-
from pypyr.errors import Error as PypyrError
6+
from pypyr.errors import PlugInError
77

88

9-
class Error(PypyrError):
9+
class Error(PlugInError):
1010
"""Base class for all pypyr exceptions."""
1111

1212

pypyrslack/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import platform
44

5-
__version__ = '0.2.1'
5+
__version__ = '0.3.0'
66

77

88
def get_version():

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.2.1
2+
current_version = 0.3.0
33

44
[bdist_wheel]
55
universal = 0

tests/unit/pypyrslack/errors.py renamed to tests/unit/pypyrslack/errors_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_base_error_raises():
1111
with pytest.raises(PypyrSlackError) as err_info:
1212
raise PypyrSlackError("this is error text right here")
1313

14-
assert repr(err_info.value) == ("PypySlackError('this is error text "
14+
assert repr(err_info.value) == ("Error('this is error text "
1515
"right here',)")
1616

1717

0 commit comments

Comments
 (0)