--- a/src/pyams_utils/timezone/vocabulary.py Sat Nov 23 01:24:11 2019 +0100
+++ b/src/pyams_utils/timezone/vocabulary.py Sat Nov 23 14:57:24 2019 +0100
@@ -10,23 +10,24 @@
# FOR A PARTICULAR PURPOSE.
#
-__docformat__ = 'restructuredtext'
+"""PyAMS_utils.timezone.vocabulary module
+
+This module provides a vocabulary of available timezones
+"""
+
+import pytz
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
+
+from pyams_utils.vocabulary import vocabulary_config
-# import standard library
-import pytz
-
-# import interfaces
-
-# import packages
-from pyams_utils.vocabulary import vocabulary_config
-from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
+__docformat__ = 'restructuredtext'
@vocabulary_config(name='PyAMS timezones')
class TimezonesVocabulary(SimpleVocabulary):
"""Timezones vocabulary"""
- def __init__(self, *args, **kw):
+ def __init__(self, *args, **kw): # pylint: disable=unused-argument
terms = [SimpleTerm(t, t, t) for t in pytz.all_timezones]
super(TimezonesVocabulary, self).__init__(terms)