Updated lint, updated config validation
This commit is contained in:
		@@ -15,6 +15,7 @@ click_log.basic_config(root_logger)
 | 
				
			|||||||
def cli():
 | 
					def cli():
 | 
				
			||||||
    pass
 | 
					    pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@cli.command()
 | 
					@cli.command()
 | 
				
			||||||
def get_gpio():
 | 
					def get_gpio():
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
@@ -22,6 +23,7 @@ def get_gpio():
 | 
				
			|||||||
    """
 | 
					    """
 | 
				
			||||||
    pass
 | 
					    pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@cli.command()
 | 
					@cli.command()
 | 
				
			||||||
def get_uuid():
 | 
					def get_uuid():
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
@@ -29,6 +31,7 @@ def get_uuid():
 | 
				
			|||||||
    """
 | 
					    """
 | 
				
			||||||
    click.echo(uuid.uuid5(uuid.NAMESPACE_DNS, str(uuid.getnode())))
 | 
					    click.echo(uuid.uuid5(uuid.NAMESPACE_DNS, str(uuid.getnode())))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@cli.command()
 | 
					@cli.command()
 | 
				
			||||||
def run():
 | 
					def run():
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
@@ -36,6 +39,7 @@ def run():
 | 
				
			|||||||
    """
 | 
					    """
 | 
				
			||||||
    pass
 | 
					    pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@cli.command()
 | 
					@cli.command()
 | 
				
			||||||
def check_config():
 | 
					def check_config():
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@ _schema = Schema({
 | 
				
			|||||||
        'token': str,
 | 
					        'token': str,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    'mapping': {
 | 
					    'mapping': {
 | 
				
			||||||
        All(Coerce(int), Range(0, 28)): All(Coerce(int), Range(1, 8)),
 | 
					        All(Coerce(int), Range(1, 8)): All(Coerce(int), Range(0, 28)),
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    'logging': {
 | 
					    'logging': {
 | 
				
			||||||
        'file': str
 | 
					        'file': str
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user