Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
wenzeslaus and github-actions[bot] authored Feb 20, 2025
1 parent c5d581c commit 0ff7d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions utils/mkdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def read_file(name):

_cached_version_branch = None


def get_version_branch(major_version, addons_git_repo_url):
"""Check if version branch for the current GRASS version exists,
if not, take branch for the previous version
For the official repo we assume that at least one version branch is present
Getting the latest version is expensive because we need to ask online for the latest
branch. Hence we cache the version branch in a global variable.
Expand Down Expand Up @@ -89,7 +89,6 @@ def get_version_branch(major_version, addons_git_repo_url):

def get_addons_url():
"""Function to get the addons URL
Getting the latest URL is expensive because we need to ask online for the latest
version.
"""
Expand Down
1 change: 1 addition & 0 deletions utils/mkmarkdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
get_addon_path,
)


def parse_source(pgm):
"""Parse source code to get source code and log message URLs,
and date time of the last modification.
Expand Down

0 comments on commit 0ff7d27

Please sign in to comment.