Repository navigation
Standardize on absolute imports (PEP 8) and ensure repo package precedence - #74
Merged
Merged
Conversation
…nds.tools; ensure repo package precedence to avoid namespace collisions; fix lint/type issues.\n\n- Enforce PEP 8 import style (absolute imports) per PEP 8 guidance\n- Add sitecustomize.py to prefer this repo's openhands over preinstalled /openhands/code during tests\n- Adjust openhands/__init__.py to prioritize local path in namespace package\n- Update tools package __version__ lookup\n- Run pre-commit (ruff, pyright) on touched files\n\nCloses #66\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…e ignores to avoid duplication with Ruff (E203,E501,W503,W291).\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…s/absolute-imports-pep8
…s/absolute-imports-pep8
xingyaoww
enabled auto-merge (squash)
September 3, 2025 17:15
StressTestor
pushed a commit
to StressTestor/software-agent-sdk
that referenced
this pull request
Jun 1, 2026
…dence (OpenHands#74) Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What changed
Why
Testing
uv run pytestshows all unit tests green for core and tools; the integration test passes when run individually. Running the entire suite in one shot can hit a memory limit on this constrained runner during pytest session shutdown (MemoryError when writing cache). In CI the jobs are split (core/tools/integration) and run with fresh environments, so this should not occur. Also verified imports via direct Python sessions.uv run pre-commit run --files <modified>; Ruff and Pyright pass.PEP8 enforcement (pycodestyle)
Backward compatibility
Checklist
Closes #66
@xingyaoww can click here to continue refining the PR