From 11be73dbbb7c40ac973c71599b4647d2c076d237 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Tue, 19 Jan 2016 07:27:39 -0600 Subject: [PATCH] Note that we need at least Sphinx 1.3 Exclude sphinx conf.py from flake8 --- docs/source/conf.py | 2 +- tox.ini | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 3c4be7f..835a673 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,7 +23,7 @@ import os # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '1.3' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom diff --git a/tox.ini b/tox.ini index b2c0a91..67c9478 100644 --- a/tox.ini +++ b/tox.ini @@ -49,3 +49,7 @@ commands = [flake8] # Ignore some flake8-docstrings errors ignore = D203 +# NOTE(sigmavirus24): Once we release 3.0.0 this exclude option can be specified +# across multiple lines. Presently it cannot be specified across multiple lines. +# :-( +exclude = .git,__pycache__,docs/source/conf.py