Mercurial > p > roundup > code
view scripts/Docker/sphinxdeps.txt @ 7814:9adf37c63b56
chore(refactor): use with open, consolidate/un-nest if ...
Various cleanups:
use 'with open(...)' rather than 'try: .. finally' to close file.
use "return ..." rather than "x = ...; return x"
Change if/else to if ternaries
Swap ' for " to prevent escaping nested "
Add lint silencing comments
Fix bare return that needs to be return None.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 16 Mar 2024 22:57:19 -0400 |
| parents | d117ddcb0ed1 |
| children |
line wrap: on
line source
Babel Jinja2 MarkupSafe Pygments alabaster certifi charset-normalizer docutils idna imagesize packaging pyparsing requests six snowballstemmer sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml sphinxcontrib-websupport urllib3
