Skip to content
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

refactor: Improve Python package parsing and import prefix handling #325

Merged
merged 7 commits into from
Feb 5, 2025

Conversation

JayGhiya
Copy link
Member

@JayGhiya JayGhiya commented Feb 4, 2025

  • Extracted import prefix generation into a separate method
  • Enhanced package structure parsing with more robust prefix detection
  • Simplified package name generation using import prefix
  • Added support for collapsing package names with consistent import prefix
  • Improved error handling and logging in codebase parsing

- Extracted import prefix generation into a separate method
- Enhanced package structure parsing with more robust prefix detection
- Simplified package name generation using import prefix
- Added support for collapsing package names with consistent import prefix
- Improved error handling and logging in codebase parsing
Removed extensive test data files and directories that were no longer needed, simplifying the project's file structure and reducing unnecessary complexity.
- Added Java setup and Scanner CLI download to GitHub Actions workflow
- Updated Taskfile with tasks to ensure Scanner CLI and generate test prerequisites
- Modified test data file loading in Python codebase parser test
- Removed redundant JSON test data file
@JayGhiya
Copy link
Member Author

JayGhiya commented Feb 5, 2025

Hell yea! past ci test

@JayGhiya JayGhiya merged commit 6a42569 into main Feb 5, 2025
2 checks passed
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.

1 participant