Skip to content

Fix tests not passing in test_pyi_gen.py#269

Merged
CEXT-Dan merged 10 commits intoCEXT-Dan:mainfrom
rdesparbes:fix-test-pyi-gen
Apr 14, 2025
Merged

Fix tests not passing in test_pyi_gen.py#269
CEXT-Dan merged 10 commits intoCEXT-Dan:mainfrom
rdesparbes:fix-test-pyi-gen

Conversation

@rdesparbes
Copy link
Copy Markdown
Contributor

This pull request:

  • Fixes a few tests that haven't been updated in Introduce Ruff in CI #261 and Decouple pyi generation from RX #267
  • Removes TypeVar from the types that are added in the .pyi files, as it is not used and is systematically removed by ruff
  • Reorders the imports from typing following the isort convention
  • Put the Ax module right after Ap in sequences where it was mispositioned

@CEXT-Dan CEXT-Dan merged commit 4554c74 into CEXT-Dan:main Apr 14, 2025
1 check passed
@CEXT-Dan
Copy link
Copy Markdown
Owner

Thank you!

@CEXT-Dan
Copy link
Copy Markdown
Owner

there's a lot of noise in the gen logs, not sure where this was introduced
ERROR:pyrx.doc_utils.pyi_gen:Unknown type: PyRx.RxClass

@rdesparbes
Copy link
Copy Markdown
Contributor Author

there's a lot of noise in the gen logs, not sure where this was introduced
ERROR:pyrx.doc_utils.pyi_gen:Unknown type: PyRx.RxClass

I'll look into that!

@rdesparbes rdesparbes deleted the fix-test-pyi-gen branch April 15, 2025 06:06
CEXT-Dan added a commit that referenced this pull request May 31, 2025
Fix tests not passing in test_pyi_gen.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants