summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:15:34 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:21:35 -0400
commit9b78cf4913202995dcf065ecf5077bf16fa01f95 (patch)
treea04ca95d6f67bae491f290cc71036d2a4f6b168c /setup.cfg
parent9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff)
downloadcmd2-git-9b78cf4913202995dcf065ecf5077bf16fa01f95.tar.gz
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
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg17
1 files changed, 17 insertions, 0 deletions
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