ydb-platform / ydb-platform/ydb-python-sdk
dev: replace all imports to relative
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 102
- Forks
- 75
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
- "from ydb import issues" -> "from .. import issues" and similars for all files inside ydb folder
- auto-replace imports im generated protobuf during generation step
- linter to enforce the rule
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating imports inside the ydb folder, the generated protobuf generation step, and the linter configuration. The work is done when imports are relative throughout ydb, generated protobuf imports are rewritten during generation, and the linter enforces the rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100