Applied updates, linting, etc.

This commit is contained in:
M madrigal 2025-10-16 15:02:09 -04:00
parent 2e0378ff9d
commit 34faa57ea4
3 changed files with 7 additions and 2 deletions

View File

@ -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). 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 ## 🤝 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. 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.

View File

@ -11,6 +11,7 @@ authors = [
maintainers = [ maintainers = [
{ name = "Benjamin Chinnery", email = "ben@qoherent.ai" }, { name = "Benjamin Chinnery", email = "ben@qoherent.ai" },
{ name = "Ashkan Beigi", email = "ash@qoherent.ai" }, { name = "Ashkan Beigi", email = "ash@qoherent.ai" },
{ name = "Madrigal Weersink", email = "madrigal@qoherent.ai" },
] ]
keywords = [ keywords = [
"radio", "radio",

View File

@ -13,8 +13,8 @@ Run this after installing pyrf:
python scripts/fix_pyrf_python3.py python scripts/fix_pyrf_python3.py
""" """
from pathlib import Path
from lib2to3.refactor import RefactoringTool, get_fixers_from_package from lib2to3.refactor import RefactoringTool, get_fixers_from_package
from pathlib import Path
try: try:
import pyrf import pyrf
@ -36,7 +36,7 @@ print(f"Found pyrf ThinkRF module at: {thinkrf_path}")
# Apply lib2to3 fixes # Apply lib2to3 fixes
print("Applying Python 3 compatibility 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 = RefactoringTool(fixers)
tool.refactor_file(str(thinkrf_path), write=True) tool.refactor_file(str(thinkrf_path), write=True)