From 666805dd8ee2702a1f6c9bef05a7cca27ade3e3a Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 23 Oct 2014 12:35:17 -0700 Subject: [PATCH] Fix the 'ignore-path' config option The option shouldn't be named 'ignore_path' but should be named 'ignore-path' to match the docs and to match the CLI argument. Change-Id: If5346910b259a0c092eea5c9adde281c2f2ff347 --- doc8/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc8/main.py b/doc8/main.py index 85228d8..b892bdb 100644 --- a/doc8/main.py +++ b/doc8/main.py @@ -93,7 +93,7 @@ def extract_config(args): pass try: cfg['ignore_path'] = split_set_type(parser.get("doc8", - "ignore_path")) + "ignore-path")) except (configparser.NoSectionError, configparser.NoOptionError): pass try: