File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ def output_results(args, bad_words):
365365 if args .vim :
366366 print (f"vim +{ line_num } { found_file } " , file = sys .stderr )
367367 else :
368+
368369 print (
369370 f"file: { found_file :30} line: { line_num :3d} word: { misspelled_word } " ,
370371 file = sys .stderr ,
@@ -422,15 +423,13 @@ def comment_spell_check(args):
422423 if args .bibtex :
423424 add_bibtex_words (spell , args .bibtex )
424425
425- file_list = []
426- if len (args .filenames ):
427- file_list = args .filenames
428- else :
429- file_list = ["." ]
426+ for bibtex_file in bibtex_files :
427+ logger .info ("Loading bibtex file: %s" , bibtex_file )
428+ bibtex_loader .add_bibtex (spell , bibtex_file )
430429
431- prefixes = ["sitk" , "itk" , "vtk" ] + args .prefixes
432430
433- bad_words = []
431+ def output_results (args , bad_words ):
432+ """Output the results of the spell check."""
434433
435434 suffixes = [* set (args .suffix )] # remove duplicates
436435
You can’t perform that action at this time.
0 commit comments