-
Notifications
You must be signed in to change notification settings - Fork 322
feat: microgen - adds testing directory
#2296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Migrates the empty __init__.py file to the microgenerator package.
Introduces the CodeAnalyzer class and helper functions for parsing Python code using the ast module. This provides the foundation for understanding service client structures.
Implements functions to analyze Python source files, including:
- Filtering classes and methods based on configuration.
- Building a schema of request classes and their arguments.
- Processing service client files to extract relevant information.
testing directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have something other than a single 1? I've only ever had a fuller constraints file
The file should have been empty. We often have no constraints for higher versions of Python (e.g. 3.13) but the file itself is expected by the nox sessions, empty or not.
No idea how a 1 got in there. Prolly a bit monster.
Removed the 1.
- [ ] Follows: PR #2296 (should be merged after that PR is merged.) This PR upgrades the `_to_snake_case()` function to better handle names that have acronyms or initialisms. Also adds a `raise` statement if method name is empty.
Adds a testing directory for the microgenerator with a new file:
constraints-3.13.txtUsed by the
nox.session()in the microgeneratornoxfile.py. Added to support alpha release. Other constraints files will likely follow as the project evolves.