Mercurial > p > roundup > code
diff doc/security.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 | ed2bc951277b |
| children | 75774e89b483 |
