-
Notifications
You must be signed in to change notification settings - Fork 16
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 #79 from LaboratoireMecaniqueLille/release/2.0.0
Release of Crappy version 2.0.0
- Loading branch information
Showing
12 changed files
with
202 additions
and
56 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# coding: utf-8 | ||
|
||
__version__ = '2.0.0-rc.0' | ||
__version__ = '2.0.0' |
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
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,71 @@ | ||
# coding: utf-8 | ||
|
||
from .meta_modifier import Modifier | ||
|
||
|
||
class Moving_avg(Modifier): | ||
"""Empty class for signaling an object of version 1.5 whose name changed in | ||
version 2.0 and is now deprecated. | ||
The new name of the correct object to use is given. | ||
""" | ||
|
||
def __init__(self, *_, **__) -> None: | ||
"""Simply raises the exception when instantiating the object.""" | ||
|
||
super().__init__() | ||
|
||
raise NotImplementedError(f"The {type(self).__name__} Modifier was " | ||
f"renamed to MovingAvg in version 2.0.0 ! " | ||
f"Check the documentation for more information.") | ||
|
||
|
||
class Moving_med(Modifier): | ||
"""Empty class for signaling an object of version 1.5 whose name changed in | ||
version 2.0 and is now deprecated. | ||
The new name of the correct object to use is given. | ||
""" | ||
|
||
def __init__(self, *_, **__) -> None: | ||
"""Simply raises the exception when instantiating the object.""" | ||
|
||
super().__init__() | ||
|
||
raise NotImplementedError(f"The {type(self).__name__} Modifier was " | ||
f"renamed to MovingMed in version 2.0.0 ! " | ||
f"Check the documentation for more information.") | ||
|
||
|
||
class Trig_on_change(Modifier): | ||
"""Empty class for signaling an object of version 1.5 whose name changed in | ||
version 2.0 and is now deprecated. | ||
The new name of the correct object to use is given. | ||
""" | ||
|
||
def __init__(self, *_, **__) -> None: | ||
"""Simply raises the exception when instantiating the object.""" | ||
|
||
super().__init__() | ||
|
||
raise NotImplementedError(f"The {type(self).__name__} Modifier was " | ||
f"renamed to TrigOnChange in version 2.0.0 ! " | ||
f"Check the documentation for more information.") | ||
|
||
|
||
class Trig_on_value(Modifier): | ||
"""Empty class for signaling an object of version 1.5 whose name changed in | ||
version 2.0 and is now deprecated. | ||
The new name of the correct object to use is given. | ||
""" | ||
|
||
def __init__(self, *_, **__) -> None: | ||
"""Simply raises the exception when instantiating the object.""" | ||
|
||
super().__init__() | ||
|
||
raise NotImplementedError(f"The {type(self).__name__} Modifier was " | ||
f"renamed to TrigOnValue in version 2.0.0 ! " | ||
f"Check the documentation for more information.") |
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
Oops, something went wrong.