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 --- setup.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup.cfg (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..f60e3aed --- /dev/null +++ b/setup.cfg @@ -0,0 +1,17 @@ +[flake8] +exclude = .git,.idea,.pytest_cache,.tox,.venv,.vscode,build,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg +max-line-length = 127 +max-complexity = 26 + +[isort] +line_length=127 +skip=cmd2/__init__.py +multi_line_output = 3 +include_trailing_comma = true +force_grid_wrap = 0 +use_parentheses = true + +[doc8] +ignore-path=docs/_build,.git,.idea,.pytest_cache,.tox,.venv,.vscode,build,cmd2,examples,tests,cmd2.egg-info,dist,htmlcov,__pycache__,*.egg +;max-line-length=99 +verbose=0 -- cgit v1.2.1