6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-03-19 12:02:21 +00:00

Minor formatting

This commit is contained in:
Régis Behmo 2019-05-29 11:20:37 +02:00
parent d8bea87a2f
commit 58d2af30a0
3 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,6 @@ from tutor import exceptions
class EnvTests(unittest.TestCase):
def test_walk_templates(self):
templates = list(env.walk_templates("local"))
self.assertIn("local/docker-compose.yml", templates)

View File

@ -326,7 +326,9 @@ def ask(question, key, config, defaults):
def ask_bool(question, key, config, defaults):
default = config.get(key, defaults[key])
config[key] = click.confirm(fmt.question(question), prompt_suffix=" ", default=default)
config[key] = click.confirm(
fmt.question(question), prompt_suffix=" ", default=default
)
def ask_choice(question, key, config, defaults, choices):