Giter Club home page Giter Club logo

Comments (8)

NickCrews avatar NickCrews commented on July 1, 2024

PR at #19

from docopt-ng.

alicederyn avatar alicederyn commented on July 1, 2024

Is it possible for an end user to work around this issue, while the PR remains unmerged?

from docopt-ng.

NickCrews avatar NickCrews commented on July 1, 2024

@alicederyn, not exactly sure what issue you mean, I'm assuming your mypy run is complaining that it can't find type hints for docopt? Is this guide helpful? Probably you will want to do one of the methods of suppressing the warning.

from docopt-ng.

alicederyn avatar alicederyn commented on July 1, 2024

I was hoping there was a way to tell mypy how to use the type hints despite the misconfiguration fixed by your pr.

from docopt-ng.

NickCrews avatar NickCrews commented on July 1, 2024

Ah, that is probably going to be trickier. Disclaimer, I'm moderately experienced, but by no means an expert in this packaging/environment stuff.

Is it possible for you to clone my fork that has that PR included, and install it as editable from that (ie python3 -m pip install -e .)?

Are you using some sort of package manager like poetry? In which case you could use a git requirement (https://python-poetry.org/docs/dependency-specification/#git-dependencies).

Any other background or restrictions would be helpful.

from docopt-ng.

NickCrews avatar NickCrews commented on July 1, 2024

Anything you need to move forward @alicederyn ?

from docopt-ng.

alicederyn avatar alicederyn commented on July 1, 2024

I was going to come back to it, but I struggled to get docopt to support the configuration combinations I needed, and the error it gave when an extra argument was provided was not user-friendly, so I pulled it out and went with optparse instead :(

Thank you for your help anyway!

from docopt-ng.

NickCrews avatar NickCrews commented on July 1, 2024

Closed via de7c861

from docopt-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.