Giter Site home page Giter Site logo

Comments (4)

cs01 avatar cs01 commented on August 18, 2024 1

Thanks for filing the issue! I made an update to the way pipx parses arguments which will fix the pipx: error: unrecognized arguments: --show-bears error. You will need to update pipx to get the fix:

pipx update pipx

You are right about the indirect nature causing a problem when trying to run coala directly. But pipx can handle this use case! These are the commands you want to run. The --spec argument is passed to pip install, after which the binary coala is expected to be available.

To run once in ephemeral environment:

pipx --spec coala-bears coala --show-bears

or to install globally and have available at any time

pipx install --spec coala-bears 
coala --show-bears

I tested it and got

>> coala --show-bears
[WARNING][19:57:04] The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
[WARNING][19:57:05] StyleLintBear: Using unnecessary capturing groups affects the performance of coala. You should use '(?:<pattern>)' instead of '(<pattern>)' for your regex.
AlexBear
AnnotationBear
BanditBear
BootLintBear
CheckstyleBear
...

from pipx.

guykisel avatar guykisel commented on August 18, 2024 1

Wow, you're fast! I'm super impressed :) I'll give it a shot and report back. Thank you so much <3

from pipx.

guykisel avatar guykisel commented on August 18, 2024 1

It worked! Note that for the global install option, I actually needed to run: pipx install --spec coala-bears coala

from pipx.

guykisel avatar guykisel commented on August 18, 2024

Closing as this is resolved, thank you.

from pipx.

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.