Skip to content

Commit

Permalink
Fix in version_bumper.py to adhere to docstrings format
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-souza committed Oct 25, 2024
1 parent 7c9b416 commit 51e78d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/version_bumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
old_patch_str = split_version[2]
re_found = re.findall(r"(\d+)(.*)", old_patch_str)[0]
old_patch_number = re_found[0]
# old_branch = re_found[1]

new_patch_str = old_patch_str.replace(
old_patch_number, str(int(old_patch_number) + 1)
Expand All @@ -22,7 +21,10 @@

with open(version_file_path, "w") as f:
f.write(
f"""# WARNING: CHANGE THIS FILE MANUALLY ONLY TO RESOLVE CONFLICTS!
f"""
\"\"\"Version module.\"\"\"
# WARNING: CHANGE THIS FILE MANUALLY ONLY TO RESOLVE CONFLICTS!
# This file is supposed to be automatically modified by the CI Bot.
# The expected format is: <Major>.<Minor>.<Patch>
# See .github/workflows/version_bumper.py
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Tests](https://github.com/ORNL/flowcept/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ORNL/flowcept/actions/workflows/run-tests.yml)
[![Code Formatting](https://github.com/ORNL/flowcept/actions/workflows/run-checks.yml/badge.svg)](https://github.com/ORNL/flowcept/actions/workflows/run-checks.yml)
[![License: MIT](https://img.shields.io/github/license/ORNL/flowcept)](LICENSE)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# FlowCept

Expand Down

0 comments on commit 51e78d8

Please sign in to comment.