Appease tox (and don't run changelog)

This commit is contained in:
Luke Murphy 2020-04-11 22:52:27 +02:00
parent c69bdec4c9
commit b69bfa28b4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
5 changed files with 5 additions and 8 deletions

View File

@ -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)

View File

@ -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")

View File

@ -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

View File

@ -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

View File

@ -6,7 +6,6 @@ envlist =
format format
type type
docs docs
changelog
metadata-release metadata-release
skip_missing_interpreters = True skip_missing_interpreters = True
isolated_build = True isolated_build = True