python-poetry / python-poetry/poetry-plugin-export
Warning on pre-commit hook
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 335
- Forks
- 57
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 3
Description
I am using the following pre-commit hook:
- repo: https://github.com/python-poetry/poetry
rev: '1.6.0' # add version here
hooks:
- id: poetry-check
args: [--no-cache]
language_version: python3.9
- id: poetry-lock
args: [--no-cache]
language_version: python3.9
- repo: https://github.com/python-poetry/poetry-plugin-export
rev: '1.6.0' # add version here
hooks:
- id: poetry-export
args: ["--no-cache", "-f", "requirements.txt", "-o", "requirements.txt"]
language_version: python3.9
and receiving the following warning:
It seems that it is not using the plugin and instead use the deprecated poetry export command
Contributor guide
No contributing guide indexed for this repository
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 inspecting the pre-commit hook definition for poetry-export and the command it invokes, using the configuration shown in the issue. Compare that path with the deprecated poetry export warning; done means the hook uses the plugin as intended or clearly documents why the warning remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100