for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import click
Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.
STYLES = {
'info': {
'fg': 'green',
'bold': True,
},
'note': {
'fg': 'blue',
'error': {
'fg': 'red',
}
def _echo(message, style):
click.secho(
str(message),
**STYLES[style]
)
def info(message):
_echo('{}...'.format(message), 'info')
def note(message):
_echo(message, 'note')
def highlight(message):
return click.style(message, fg='cyan', bold=True)
def error(message):
_echo(message, 'error')
Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.