forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
man: Use a context manager for opening files (OSGeo#4291)
* man/build_html: Use context manager for get_desc * man/build_topics: Use context managers for opening files * man/build_rest: Replace read_file and write_file with Path.read_text and Path.write_text * man/build_rest: Use context manager for get_desc * man/build_index_rest: Use a context manager for opening file * man/build_keywords: Use a context manager for opening files * man/build_class_graphical: Use a context manager for opening files * man/build_full_index_rest: Use a context manager for opening files * man/build_full_index: Use a context manager for opening files * man/build_class_rest: Use a context manager for opening files * man/build_class: Use a context manager for opening files * style: Remove unneeded SIM115 exclusions in man/ * man/build_topics: Use context managers for opening keyfile * man/build_html: Add missing Path import * man/build_keywords: Ignore line too long (E501) * Sort imports in build_rest * man/build_topics: write_footer need to be inside keyfile context manager
- Loading branch information
Showing
11 changed files
with
303 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.