Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 10 19:37
    ubiquitous-memory starred coala/coala-bears
  • Jun 10 07:20
    Mryanhehe reopened #2992
  • Jun 10 07:20
    Mryanhehe closed #2992
  • Jun 10 07:20
    Mryanhehe reopened #2992
  • Jun 10 07:20
    Mryanhehe closed #2992
  • Jun 10 07:19
    Mryanhehe opened #2992
  • Jun 03 09:11
    anshalshukla synchronize #2988
  • Jun 03 06:19
    anshalshukla synchronize #2988
  • Jun 03 06:02
    anshalshukla synchronize #2988
  • Jun 03 05:42
    anshalshukla synchronize #2988
  • Jun 03 05:27
    anshalshukla synchronize #2988
  • Jun 03 05:22
    anshalshukla synchronize #2988
  • Jun 03 05:11
    anshalshukla synchronize #2988
  • Jun 03 05:08
    anshalshukla synchronize #2988
  • Jun 03 05:03
    anshalshukla synchronize #2988
  • Jun 03 04:58
    anshalshukla synchronize #2988
  • Jun 02 21:11
    anshalshukla synchronize #2988
  • Jun 02 21:03
    anshalshukla synchronize #2988
  • Jun 02 20:59
    anshalshukla synchronize #2988
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
4 replies
Apoorv Srivastava
@MaskedCarrot
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
@MaskedCarrot
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
@MaskedCarrot
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
Himanshu Pal
@Nanu21
Hello World!
corobo-abhishalya
@corobo-abhishalya

Welcome @Nanu21! :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.

Himanshu Pal
@Nanu21
Can I work on an issue without assignment? As I had asked for assigning an issue three days earlier and got no response.
Abhinav Kaushlya
@abhishalya
@Nanu21 Absolutely
Abhinav Kaushlya
@abhishalya
@anshalshukla Can you do a quick moban sync for coala-bears repo too?
Anshal Shukla
@anshalshukla
Okay, will do it tomorrow
Anshal Shukla
@anshalshukla
It is taking longer then I had expected, sentinel trusty is creating some problems. Also while testing, one of the build ended up in infinite loop exhausting most of my free creds. Are there ways to get some more creds else I'll try running travis via a docker image locally.
Abhinav Kaushlya
@abhishalya
I have no idea tbh
You can also utilise coala's PR builds too