Commit 8b7792ad authored by Sam Wu's avatar Sam Wu
Browse files

Fix formatting in conf.py to pass yapf3

parent af131ec5
......@@ -29,13 +29,14 @@ import re
from rocm_docs import ROCmDocs
html_theme_options = {"flavor": "list"}
templates_path = ["."] # Use the current folder for templates
templates_path = ["."] # Use the current folder for templates
setting_all_article_info = True
all_article_info_os = ["linux"]
with open('../CMakeLists.txt', encoding='utf-8') as f:
match = re.search(r'.*\brocm_setup_version\(VERSION\s+([0-9.]+)[^0-9.]+', f.read())
match = re.search(r'.*\brocm_setup_version\(VERSION\s+([0-9.]+)[^0-9.]+',
f.read())
if not match:
raise ValueError("VERSION not found!")
version_number = match[1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment