Add PyLint as a development dependency

Use `pylint calsocial` to run the static analysis.
This commit is contained in:
2018-07-03 08:33:49 +02:00
parent 5283599da2
commit 531faa1ce7
7 changed files with 464 additions and 9 deletions

View File

@@ -55,6 +55,8 @@ class TimezoneField(SelectField):
"""
def __init__(self, *args, **kwargs):
self.data = None
kwargs.update({
'choices': [
(pytz.timezone(tz), tz.replace('_', ' '))