@@ -36,17 +36,6 @@ def _get_build_args(args):
36
36
return build_args , pre_build_commands
37
37
38
38
39
- def _get_ignore_handler (ignore , regex_based , out_dir , doctree_dir , warnings_file ):
40
- regular = list (map (os .path .realpath , ignore ))
41
- regular .append (os .path .realpath (out_dir )) # output directory
42
- if doctree_dir : # Doctrees
43
- regular .append (os .path .realpath (doctree_dir ))
44
- if warnings_file : # Logfile
45
- regular .append (os .path .realpath (warnings_file ))
46
-
47
- return Ignore (regular , regex_based )
48
-
49
-
50
39
def get_parser ():
51
40
"""Get the application's argument parser.
52
41
@@ -159,6 +148,17 @@ class RawTextArgumentDefaultsHelpFormatter(
159
148
return parser
160
149
161
150
151
+ def _get_ignore_handler (ignore , regex_based , out_dir , doctree_dir , warnings_file ):
152
+ regular = list (map (os .path .realpath , ignore ))
153
+ regular .append (os .path .realpath (out_dir )) # output directory
154
+ if doctree_dir : # Doctrees
155
+ regular .append (os .path .realpath (doctree_dir ))
156
+ if warnings_file : # Logfile
157
+ regular .append (os .path .realpath (warnings_file ))
158
+
159
+ return Ignore (regular , regex_based )
160
+
161
+
162
162
def main ():
163
163
"""Actual application logic."""
164
164
colorama .init ()
0 commit comments