From 34faa57ea4c070b99d825e631880ccc447aa2a32 Mon Sep 17 00:00:00 2001 From: madrigal Date: Thu, 16 Oct 2025 15:02:09 -0400 Subject: [PATCH] Applied updates, linting, etc. --- README.md | 4 ++++ pyproject.toml | 1 + scripts/fix_pyrf_python3.py | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9d1241..cd038e7 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,10 @@ Additional usage information is provided in the project documentation: [RIA Tool Kindly report any issues on RIA Hub: [RIA Toolkit OSS Issues Board](https://riahub.ai/qoherent/ria-toolkit-oss/issues). +### Upcoming Changes +The ThinkRF package is currently pending further testing and potential updates. + + ## 🤝 Contribution Contributions are always welcome! Whether it's an enhancement, bug fix, or new example, your input is valuable. If you'd like to contribute to the project, please reach out to the project maintainers. diff --git a/pyproject.toml b/pyproject.toml index fdf3af3..67fdf50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ authors = [ maintainers = [ { name = "Benjamin Chinnery", email = "ben@qoherent.ai" }, { name = "Ashkan Beigi", email = "ash@qoherent.ai" }, + { name = "Madrigal Weersink", email = "madrigal@qoherent.ai" }, ] keywords = [ "radio", diff --git a/scripts/fix_pyrf_python3.py b/scripts/fix_pyrf_python3.py index 4ee761d..6bf0faa 100644 --- a/scripts/fix_pyrf_python3.py +++ b/scripts/fix_pyrf_python3.py @@ -13,8 +13,8 @@ Run this after installing pyrf: python scripts/fix_pyrf_python3.py """ -from pathlib import Path from lib2to3.refactor import RefactoringTool, get_fixers_from_package +from pathlib import Path try: import pyrf @@ -36,7 +36,7 @@ print(f"Found pyrf ThinkRF module at: {thinkrf_path}") # Apply lib2to3 fixes print("Applying Python 3 compatibility fixes...") -fixers = get_fixers_from_package('lib2to3.fixes') +fixers = get_fixers_from_package("lib2to3.fixes") tool = RefactoringTool(fixers) tool.refactor_file(str(thinkrf_path), write=True)