summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-08-11 00:19:58 +0000
committerIan Cordasco <graffatcolmingov@gmail.com>2016-08-11 00:19:58 +0000
commite8cb26895eb9bb239f7f5fef2a3430876c05616b (patch)
tree550be3edf87452868c58b06e43e5b7b5170e1560 /docs
parent2b77f2d9a0d5eb63edc12dc7b6a470218f3067ec (diff)
parentf67f481beea1f32e503d346e9d4d3f2f2a8b2ebe (diff)
downloadflake8-e8cb26895eb9bb239f7f5fef2a3430876c05616b.tar.gz
Merge branch 'feature/207' into 'master'
Add --bug-report flag to help bug reporters When invoked it will print out JSON that has all of the debugging information needed by the maintainers to diagnose or reproduce a bug. Closes #207 See merge request !117
Diffstat (limited to 'docs')
-rw-r--r--docs/source/release-notes/3.1.0.rst4
-rw-r--r--docs/source/release-notes/index.rst1
-rw-r--r--docs/source/user/options.rst48
3 files changed, 53 insertions, 0 deletions
diff --git a/docs/source/release-notes/3.1.0.rst b/docs/source/release-notes/3.1.0.rst
new file mode 100644
index 0000000..7df073a
--- /dev/null
+++ b/docs/source/release-notes/3.1.0.rst
@@ -0,0 +1,4 @@
+3.1.0 -- 2016-yy-xx
+-------------------
+
+- Add ``--bug-report`` flag to make issue reporters' lives easier.
diff --git a/docs/source/release-notes/index.rst b/docs/source/release-notes/index.rst
index 07b9cd6..c59a64f 100644
--- a/docs/source/release-notes/index.rst
+++ b/docs/source/release-notes/index.rst
@@ -6,6 +6,7 @@ All of the release notes that have been recorded for Flake8 are organized here
with the newest releases first.
.. toctree::
+ 3.1.0
3.0.4
3.0.3
3.0.2
diff --git a/docs/source/user/options.rst b/docs/source/user/options.rst
index acaa67c..c139f69 100644
--- a/docs/source/user/options.rst
+++ b/docs/source/user/options.rst
@@ -728,3 +728,51 @@
flake8 --benchmark dir/
This **can not** be specified in config files.
+
+
+.. option:: --bug-report
+
+ Generate information necessary to file a complete bug report for Flake8.
+ This will pretty-print a JSON blob that should be copied and pasted into a
+ bug report for Flake8.
+
+ Command-line usage:
+
+ .. prompt:: bash
+
+ flake8 --bug-report
+
+ The output should look vaguely like:
+
+ .. code-block:: js
+
+ {
+ "dependencies": [
+ {
+ "dependency": "setuptools",
+ "version": "25.1.1"
+ }
+ ],
+ "platform": {
+ "python_implementation": "CPython",
+ "python_version": "2.7.12",
+ "system": "Darwin"
+ },
+ "plugins": [
+ {
+ "plugin": "mccabe",
+ "version": "0.5.1"
+ },
+ {
+ "plugin": "pycodestyle",
+ "version": "2.0.0"
+ },
+ {
+ "plugin": "pyflakes",
+ "version": "1.2.3"
+ }
+ ],
+ "version": "3.1.0.dev0"
+ }
+
+ This **can not** be specified in config files.