Merge pull request #3 from wmbolle/fix-pylint-issues

Fix some pylint issues.
This commit is contained in:
Marcel M. Otte 2021-05-25 07:52:51 +02:00 committed by GitHub
commit 0744203beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 29 additions and 7 deletions

View File

@ -1,3 +1,7 @@
"""
TODO
"""
from ruamel.yaml import YAML
import logging
import sys

View File

@ -1,3 +1,7 @@
"""
TODO
"""
import os
import pwd
import json

View File

@ -1,3 +1,7 @@
"""
TODO
"""
import os
import asyncio

View File

@ -5,6 +5,9 @@ from datetime import datetime
class Scheduler():
"""
TODO
"""
__shared_state = dict()
__data = dict()
def __init__(self):

View File

@ -4,6 +4,9 @@ import os
AVAILABLE_TOOLS = {}
def register_tool(name):
"""
TODO
"""
def decorator(Cls):
AVAILABLE_TOOLS.update({name: Cls})
return decorator

View File

@ -3,8 +3,8 @@ from backive.core.tool import AVAILABLE_TOOLS, register_tool
@register_tool("rsync")
class Rsync:
"""
TODO
"""
def __init__(self, options):
pass

View File

@ -1,4 +1,3 @@
import setuptools
from setuptools import setup, find_packages
@ -43,5 +42,3 @@ setup_info = dict(
)
setup(**setup_info)

View File

@ -1,3 +1,7 @@
"""
TODO
"""
import unittest
import os
import asyncio
@ -6,6 +10,9 @@ from backive.core.events import EventInterface
class TestEvents(unittest.TestCase):
"""
TODO
"""
def set_data(self, data):
self.data = data