Skip to content

Freed-Wu/requirements-language-server

Repository files navigation

requirements-language-server

readthedocs pre-commit.ci status github/workflow codecov DeepSource

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

Language server for requirements.txt.

Currently python's requirement.txt has 2 types:

The difference is that PEP508 doesn't support pip's options.

For pyproject.toml:

[tool.setuptools.dynamic.dependencies]
file = "requirements.txt"

[tool.setuptools.dynamic.optional-dependencies.dev]
file = "requirements/dev.txt"

We recognize requirements.txt and requirements/dev.txt as PEP508's requirements.txts and display errors for all pip's options. For other requirements.txts, we recognize them as pip's requirements.txts.

Features:

Other features:

Screenshots

Diagnostic

diagnostic

Hover

module

option

Completion

module

option

file

How Does It Work

See here.

Read readthedocs to know more.

Related Projects