forked from gergely/calendar-social
Add PyLint as a development dependency
Use `pylint calsocial` to run the static analysis.
This commit is contained in:
@@ -30,10 +30,10 @@ def to_timestamp(func):
|
||||
"""
|
||||
|
||||
@wraps(func)
|
||||
def decorator(*args, **kwargs):
|
||||
def _decorator(*args, **kwargs):
|
||||
return func(*args, **kwargs).timestamp()
|
||||
|
||||
return decorator
|
||||
return _decorator
|
||||
|
||||
|
||||
class GregorianCalendar(CalendarSystem):
|
||||
|
Reference in New Issue
Block a user