Skip to content

poetry check command doesn't accept --directory global option #7240

@martinmiglio

Description

@martinmiglio
  • Poetry version: Poetry (version 1.3.1)

  • Python version: Python 3.11.0

  • OS version and name: Windows 11

  • I am on the latest stable Poetry version, installed using a recommended method.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • I have consulted the FAQ and blog for any relevant entries or release notes.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

poetry check --directory [DIR] doesn't work as documented by global options on the poetry site.
I would expect this to check the pyproject.toml in the given dir.

Output of the command and broken argument in this gist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions