diff --git a/requirements.txt b/requirements.txt index ffa49cd4e3..fa6e03bc00 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -black==22.3.0 +black==23.3.0 flake8==6.0.0 requests==2.31.0 diff --git a/scripts/pdf/render.py b/scripts/pdf/render.py index 53e00ebf67..e23fbbfecd 100644 --- a/scripts/pdf/render.py +++ b/scripts/pdf/render.py @@ -18,7 +18,6 @@ from weasyprint import HTML def main(loc, colorscheme): - # Checking correctness of path if not os.path.isdir(loc): print("Invalid directory. Please try again!", file=sys.stderr) @@ -42,7 +41,6 @@ def main(loc, colorscheme): # Writing names of all directories inside 'pages' to a list for operating_sys in sorted(os.listdir(loc)): - # Required string to create directory title pages html += ( "

" @@ -78,7 +76,6 @@ def main(loc, colorscheme): if __name__ == "__main__": - # Parsing the arguments parser = argparse.ArgumentParser( prog="tldr-pages-to-pdf",