From 1de5da8a7fc7c49ba44e0a7273f8d8ffa4d3a529 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 22 Jun 2016 19:27:10 -0500 Subject: [PATCH] Add more definitions to glossary --- docs/source/glossary.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/source/glossary.rst b/docs/source/glossary.rst index 422da5e..f3231fc 100644 --- a/docs/source/glossary.rst +++ b/docs/source/glossary.rst @@ -22,8 +22,25 @@ the user configured maximum) or a lint check (e.g., checking for unused imports) or some other check as defined by a plugin. + error error code The symbol associated with a specific :term:`check`. For example, pycodestyle implements :term:`check`\ s that look for whitespace around binary operators and will either return an error code of - W503 or W504. + ``W503`` or ``W504``. + + warning + Typically the ``W`` class of :term:`error code`\ s from pycodestyle. + + class + error class + A larger grouping of related :term:`error code`\ s. For example, + ``W503`` and ``W504`` are two codes related to whitespace. ``W50`` + would be the most specific class of codes relating to whitespace. + ``W`` would be the warning class that subsumes all whitespace + errors. + + pyflakes + The project |Flake8| depends upon to lint files (check for unused + imports, variables, etc.). This uses the ``F`` :term:`class` of + :term:`error code`\ s reported by |Flake8|.