Loading docs/style_doc.py +4 −1 Changes for docs/style_doc.py: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -518,8 +518,11 @@ def style_doc_files(*files, max_len=119, check_only=False): """ changed = [] for file in files: # skip conf.py if file == "source/conf.py" or file.startswith("source/generated"): continue # Treat folders if os.path.isdir(file): elif os.path.isdir(file): files = [os.path.join(file, f) for f in os.listdir(file)] files = [f for f in files if os.path.isdir(f) or f.endswith(".rst") or f.endswith(".py")] changed += style_doc_files(*files, max_len=max_len, check_only=check_only) Loading Loading
docs/style_doc.py +4 −1 Changes for docs/style_doc.py: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -518,8 +518,11 @@ def style_doc_files(*files, max_len=119, check_only=False): """ changed = [] for file in files: # skip conf.py if file == "source/conf.py" or file.startswith("source/generated"): continue # Treat folders if os.path.isdir(file): elif os.path.isdir(file): files = [os.path.join(file, f) for f in os.listdir(file)] files = [f for f in files if os.path.isdir(f) or f.endswith(".rst") or f.endswith(".py")] changed += style_doc_files(*files, max_len=max_len, check_only=check_only) Loading