Skip to content

refactor(core): fix linter errors#41

Merged
benbenbang merged 3 commits into
mainfrom
fix/lint
Sep 2, 2025
Merged

refactor(core): fix linter errors#41
benbenbang merged 3 commits into
mainfrom
fix/lint

Conversation

@benbenbang

Copy link
Copy Markdown
Owner

This pull request primarily cleans up unused imports across several files in the codebase, focusing on removing references to VersionInfo and other types that are no longer needed. These changes help to simplify the code and reduce potential confusion for future maintenance.

Codebase cleanup and simplification

  • Removed unused imports of VersionInfo, PyPIPackageInfo, and PackageMetadata from src/api/cache/package-cache.ts, src/api/clients/http-client.ts, src/api/services/pypi-service.ts, src/providers/version-completion-provider.ts, src/toml/parser.ts, and src/ui/decoration.ts to streamline dependencies and improve clarity. [1] [2] [3] [4] [5] [6]
  • Updated error imports in src/api/clients/http-client.ts and src/api/services/pypi-service.ts to only include necessary error types, further reducing unnecessary code. [1] [2]
  • Removed an unused function import (parseDependenciesWithMetadata) from src/providers/version-completion-provider.ts for additional clarity.
  • Minor variable renaming in src/api/services/pypi-service.ts to avoid shadowing and improve readability.

@github-actions github-actions Bot added enhancement New feature or request triage labels Sep 2, 2025
@benbenbang
benbenbang merged commit e945dd6 into main Sep 2, 2025
2 checks passed
@benbenbang
benbenbang deleted the fix/lint branch September 2, 2025 22:38
@ptah-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant