by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Apoorv Srivastava
@Masked-Carrot
hello, I have made some changes to fix an issue and I wanted to make the code run locally on my computer before I create a pull request. Can someone please guide me on how to run the code locally.
Farhan Mufti Hilmy
@FarhanMuftiHilmy
Hello World
corobo-abhishalya
@corobo-abhishalya

Welcome @FarhanMuftiHilmy! :tada:

To get started, please follow our newcomers guide. The guide might tell you that corobo's command will get you an invite, but it won't, I'm not corobo (he's my father and he's too tired to work atm).

The alternative is to request access to gitlab instead. A developer or maintainer will then soon invite you to the organization. But just to let you know, the invite might get delayed since most of our maintainers are busy.

Only after you've received and accepted the invitation, we can assign issues. Until that, feel free to explore coala.

André Madeira Cortes
@BamBalaam
@jayvdb Hi! I'd like to be assigned to coala/coala-bears#2895 if possible :) Thanks!
(the newcommer guide states we shouldn't @ people but someone in that issue's discussion states that's how we get tickets assigned)
Apoorv Srivastava
@Masked-Carrot
hello, I am new to coala. I ran a code locally after making some changes and I am getting a lot of errors like value error, import error, modulenotfoundErrorr , import Error in files i have not even changed, the file I changed is not showing any error. I am not able to understand what am I doing wrong can someone please help me
Amol Grover
@frextrite
Hey @Apoorv01017 how did you install coala and coala-bears? Also, what command are you using to run coala on your files?
Apoorv Srivastava
@Masked-Carrot
I wrote the following comand pip3 install --user -r requirements.txt -r test-requirements.txt
And then python3 -m pytest
Keshav Garg
@KVGarg
@Apoorv01017 Please make sure you’re not using py3.7 as coala currently doesn’t support it. Try to use py3.6 or below
Apoorv Srivastava
@Masked-Carrot
i ran pytest in the terminal but i have got an error message -----ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --doctest-ignore-import-error --cov --instafail --profile --reorder
inifile: /home/apoorv/Projects/coala-bears/setup.cfg
rootdir: /home/apoorv/Projects/coala-bears--------can someone help me
Abhinav Kaushlya
@abhishalya
@Apoorv01017 Please install all test-requirements and also use a venv
Apoorv Srivastava
@Masked-Carrot
can someone tell me how can i fix error= requires pytest-3.6.4, actual pytest-3.3.2
i tried using pip3 install --upgrade pytest but it did not work
shengmai_chen
@shengmai-justin

Hi, guys, I am trying to get starting with coal. However, I met a problem at the beginning

coala --files=src/\*.c --bears=SpaceConsistencyBear —save;

this command was unworkable which returns the command not found.

Abhinav Kaushlya
@abhishalya
@shengmai-justin You should install coala first, have a look at http://docs.coala.io/en/latest/Users/Install.html
@Apoorv01017 I think the dependencies might be broken, try to find out a fix yourself by changing the versions so that they are compatible with each other. If nothing works then hard pin them to certain version, or just remove them
Apoorv Srivastava
@Masked-Carrot
hello, i am new to coala i cloned coala-bears repository and ran pip3 install -r requirements.txt -r test-requirements.txt
but i am getting errors like ERROR: coala-bears 0.11.1 has requirement autoflake~=0.6.6, but you'll have autoflake 0.7 which is incompatible
can someone please help me out.
Abhinav Kaushlya
@abhishalya
@Apoorv01017 You can just follow what it says, install the compatible versions on your own. This needs to be fixed, but I guess it will take time since the maintainers are inactive
Shageldi Ovezov
@ovezovs
Hi! How do I get added to the list of contributors so that I can start taking on assignments? Can someone please add me?
Keshav Garg
@KVGarg
You can start contributing to coala even if you’re not a member of coala newcomers team. As maintainers are busy from a long time, they can’t find time to add newcomers. Please begin with any newcomer issue, that hasn’t been solved yet or bo one has created a PR related to that issue.
Stanislas Dolcini
@StanleySweet
Hello anyone here?
I'm wondering if it's possible to create a bear that runs the lint executable in a specific directory
So assuming I start coala at the root of my source
I'd ask it to run the clang-format executable in another folder (to pickup a specific config file)
Abhinav Kaushlya
@abhishalya
Iirc, a file dict is passed to each bear through which you should be able to filter out the files you want your bear to process
Stanislas Dolcini
@StanleySweet
Yeah but here it's the current directory that I want to change
ex instead of /
I want the currentdirectory to be build/jenkins/config
Abhinav Kaushlya
@abhishalya
Well if you're just looking to have a config file at a specified location, then its quite simple. You can just add a new argument for config_file and pass it to the linter while running the bear.
icecreamcake101
@icecreamcake101
Hello World
corobo-abhishalya
@corobo-abhishalya

Welcome @icecreamcake101! :tada:

To get started, please follow our newcomers guide. The guide might tell you that corobo's command will get you an invite, but it won't, I'm not corobo (he's my father and he's too tired to work atm).

The alternative is to request access to gitlab instead. A developer or maintainer will then soon invite you to the organization. But just to let you know, the invite might get delayed since most of our maintainers are busy.

Only after you've received and accepted the invitation, we can assign issues. Until that, feel free to explore coala.

Lukas Heumos
@Zethson

Dear everyone,

I need to work with click 7.0.
However, coala-bears requires click 6.6

Is it possible for coala-bears to upgrade to click 7.0?

Lionel T.
@lktslionel
Hello, how can I try the NextGen-Core of coala ?
Mischa Krüger
@Makman2
@Zethson if you don't have to work on coala with the new click version, I would highly recommend to install coala inside a venv. We have a large dependency list^^
@lktslionel you can't. The modules are more or less ready but just lying around and not integrated (into CLI etc). Only manual invocation from inside python is possible currently^^
Lukas Heumos
@Zethson
@Makman2 I need coala-bears as a dependency in my own tool. Hence, I cannot isolate it.
My other dependencies require click >=7.0
Which conflicts with coala-bears requiring 6.6
Mischa Krüger
@Makman2
@Zethson then you have a problem ;) Either we bump our click version, or your tools/dependencies lower theirs. Another possibility is to copy out necessary code you need in scope of the license (and possibly modify to your needs).
Lukas Heumos
@Zethson
I need pretty much the whole thing haha.
Would it be possible for you to bump your click version? It added A LOT of features.
Very useful.
Mischa Krüger
@Makman2
Yeah i guess. The ci has to get green though until we can merge 👍 @Zethson
Lukas Heumos
@Zethson
Thank you very much for your efforts!
Stanislas Dolcini
@StanleySweet
Hey there is there anything I can do to get coala/coala-bears#2710 merged?
Nova Trauben
@1fabunicorn
Hello! I am trying to find docs on using the bears inside a python script, not through the CLI. If this exists, can someone point me in the right direction?
Nova Trauben
@1fabunicorn
Never mind! figured it out