Appease tox (and don't run changelog)
This commit is contained in:
parent
c69bdec4c9
commit
b69bfa28b4
@ -3,11 +3,11 @@
|
||||
from os import environ
|
||||
|
||||
import click
|
||||
from PyInquirer import prompt
|
||||
|
||||
from autonomic.config import ACTIONS_DIR, INFRA_DIR
|
||||
from autonomic.infra import get_passwd, run_play
|
||||
from autonomic.utils import check_git, qlist
|
||||
from PyInquirer import prompt
|
||||
from autonomic.utils import git_status, qlist
|
||||
|
||||
|
||||
@click.command()
|
||||
@ -31,5 +31,4 @@ def actions(ctx):
|
||||
|
||||
play = "{}/{}.yml".format(ACTIONS_DIR, action)
|
||||
run_play(play, env=env)
|
||||
|
||||
check_git(INFRA_DIR)
|
||||
git_status(INFRA_DIR)
|
||||
|
@ -28,7 +28,7 @@ class LogFilter(object):
|
||||
return logRecord.levelno <= self.__level
|
||||
|
||||
|
||||
class CustomLogger(logging.getLoggerClass()):
|
||||
class CustomLogger(logging.getLoggerClass()): # type: ignore
|
||||
def __init__(self, name, level=logging.NOTSET):
|
||||
super(logging.getLoggerClass(), self).__init__(name, level)
|
||||
logging.addLevelName(SUCCESS, "SUCCESS")
|
||||
|
@ -12,7 +12,6 @@ from subprocess import check_output
|
||||
|
||||
from psutil import process_iter
|
||||
|
||||
from autonomic.config import INFRA_DIR
|
||||
from autonomic.logger import log
|
||||
from autonomic.yaml import yaml
|
||||
|
||||
|
@ -10,4 +10,4 @@ from ruamel.yaml import YAML
|
||||
yaml = YAML()
|
||||
|
||||
# ensure that "---" is always at the top of the YAML file
|
||||
yaml.explicit_start = True
|
||||
yaml.explicit_start = True # type: ignore
|
||||
|
Reference in New Issue
Block a user