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