Skip to content

web: use absolute import paths for modules#232

Merged
shiv-tyagi merged 1 commit intoArduPilot:mainfrom
shiv-tyagi:fix-relative-paths
Mar 22, 2026
Merged

web: use absolute import paths for modules#232
shiv-tyagi merged 1 commit intoArduPilot:mainfrom
shiv-tyagi:fix-relative-paths

Conversation

@shiv-tyagi
Copy link
Member

This PR updates import statements throughout the web directory to use absolute imports with full module paths instead of relative imports. The relative imports were causing problems when I was writing tests. This change also improves code clarity, maintainability, and reduces potential import errors.

@shiv-tyagi shiv-tyagi mentioned this pull request Mar 22, 2026
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shiv-tyagi shiv-tyagi merged commit d9f30c2 into ArduPilot:main Mar 22, 2026
1 check 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.

2 participants