From 9b78cf4913202995dcf065ecf5077bf16fa01f95 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 24 Apr 2020 21:15:34 -0400 Subject: Added info on semantic versioning and branching strategy to CONTRIBUTING.md Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes --- examples/exit_code.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/exit_code.py') diff --git a/examples/exit_code.py b/examples/exit_code.py index f4b19091..89ed86cd 100755 --- a/examples/exit_code.py +++ b/examples/exit_code.py @@ -2,9 +2,10 @@ # coding=utf-8 """A simple example demonstrating the following how to emit a non-zero exit code in your cmd2 application. """ -import cmd2 from typing import List +import cmd2 + class ReplWithExitCode(cmd2.Cmd): """ Example cmd2 application where we can specify an exit code when existing.""" -- cgit v1.2.1