Skip to content

Commit

Permalink
Add __all__ lists to all modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
douglatornell committed Feb 10, 2014
1 parent 3d3b0ce commit 5af069b
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __pkg_metadata__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
__all__ = [
'PROJECT', 'DESCRIPTION', 'VERSION', 'DEV_STATUS',
]


PROJECT = 'ECget'
DESCRIPTION = 'Get Environment Canada Weather & Hydrometric Data'
VERSION = '0.1'
Expand Down
5 changes: 5 additions & 0 deletions ecget/SOG_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
import abc


__all__ = [
'FormatterBase', 'DailyValue', 'HourlyValue', 'HourlyWindComponents',
]


class FormatterBase(object):
"""Base class for SOG forcing file data formatters.
"""
Expand Down
5 changes: 5 additions & 0 deletions ecget/SOG_weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
from . import weather_amqp


__all__ = [
'SandHeadsWind',
]


class SandHeadsWind(cliff.command.Command):
"""Get Sand Heads wind data via AMQP and output hourly component
values for SOG.
Expand Down
5 changes: 5 additions & 0 deletions ecget/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
from . import __pkg_metadata__


__all__ = [
'ECgetApp', 'main',
]


class ECgetApp(cliff.app.App):
def __init__(self):
super(ECgetApp, self).__init__(
Expand Down
5 changes: 5 additions & 0 deletions ecget/river.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
import stevedore.driver


__all__ = [
'RiverFlow', 'RiverDataBase', 'RiverDischarge',
]


class RiverFlow(cliff.command.Command):
"""Get EC river flow data and output daily average value(s) for SOG.
Expand Down
5 changes: 5 additions & 0 deletions ecget/weather_amqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
import kombu.mixins


__all__ = [
'DatamartConsumer', 'get_queue_name',
]


class DatamartConsumer(kombu.mixins.ConsumerMixin):
"""Consumer for EC CMC Datamart AMQP topic exchange service.
Expand Down
5 changes: 5 additions & 0 deletions ecget/weather_datamart.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
import xml.etree.ElementTree as ET


__all__ = [
'DatamartWeatherBase', 'DatamartWeather',
]


class DatamartWeatherBase(object):
"""Base class for driver plug-in to get weather data from an
Environment Canada CMC Datamart URL.
Expand Down

0 comments on commit 5af069b

Please sign in to comment.