Browse Source

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
Joshua Harlow 4 years ago
parent
commit
666805dd8e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      doc8/main.py

+ 1
- 1
doc8/main.py View File

@@ -93,7 +93,7 @@ def extract_config(args):
93 93
         pass
94 94
     try:
95 95
         cfg['ignore_path'] = split_set_type(parser.get("doc8",
96
-                                                       "ignore_path"))
96
+                                                       "ignore-path"))
97 97
     except (configparser.NoSectionError, configparser.NoOptionError):
98 98
         pass
99 99
     try:

Loading…
Cancel
Save