These are chat archives for coala/coala-bears

29th
Apr 2017
Abinash Senapati
@Techievena
Apr 29 2017 02:56
cobot mark wip coala/coala-bears#1438
coala-bot
@coala-bot
Apr 29 2017 02:56
The pull request coala/coala-bears#1438 is marked work in progress. Use cobot mark pending or push to your branch if feedback from the community is needed again.
John Vandenberg
@jayvdb
Apr 29 2017 09:02
Does our rubocop bear do autocorrect?
see education/classroom#864
Shreyans
@shreyans800755
Apr 29 2017 12:01
After writing BearTest file for my bear, how can I do pytest only on my bear ?
Adhityaa
@adtac
Apr 29 2017 12:08
pytest -k YourBearTest
Shreyans
@shreyans800755
Apr 29 2017 12:16
I've added a bear named CLOCBear. And corresponding CLOCBearTest.py, too. I've installed bears using pip3 install -e .
And doing pytest -k CLOCBearTest is not giving output as expected. It is giving me errors related to others bears failures.
Shreyans
@shreyans800755
Apr 29 2017 12:40
Looks like you haven't rebased @shreyans800755
Shreyans
@shreyans800755
Apr 29 2017 13:09
@yash-nisar Working as expected. Thanks
euleram
@vijeth-aradhya
Apr 29 2017 14:15
I'm thinking we should update dependency_management and coala versions in the cib requirements @Adrianzatreanu
John Vandenberg
@jayvdb
Apr 29 2017 14:21
cobot file issue coala-bears RuboCop: Add auto-correction
coala-bot
@coala-bot
Apr 29 2017 14:21
Here you go : coala/coala-bears#1687
John Vandenberg
@jayvdb
Apr 29 2017 14:22
Thx @yash-nisar
Vamshi Krishna
@Vamshi99
Apr 29 2017 14:26
I get this error when I run TOMLBear https://github.com/coala/coala-bears/pull/1409/files on a sample toml file. Can anyone help me?
Traceback information is provided below:

Traceback (most recent call last):
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bears/Bear.py", line 250, in execute
    result = self.run_bear_from_section(args, kwargs)
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bears/Bear.py", line 243, in run_bear_from_section
    return self.run(*args, **kwargs)
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bearlib/abstractions/Linter.py", line 562, in run
    **create_arguments_kwargs)
TypeError: create_arguments() takes 2 positional arguments but 3 were given
euleram
@vijeth-aradhya
Apr 29 2017 14:31
cib.png
@jayvdb isn't dependency_management part of coala requirements? why have both in cib requirements?
John Vandenberg
@jayvdb
Apr 29 2017 14:33
Yup. Cib shouldnt have any requirements that it inherits. Pip doesnt properly support that
and it cant support it if they conflict
Which they currently as there is no version which complies with ~0.4.0 and ~0.3.1
euleram
@vijeth-aradhya
Apr 29 2017 14:36
yeah i'll have to update dependency management though because the current one doesn't have install_package method
I had added this manually a couple of months back and wrote the current test file for it
coala==0.11.0rc1
dependency_management>=0.4.0
okay?
Vamshi Krishna
@Vamshi99
Apr 29 2017 14:38
pip install 'language_check==0.8.* command is taking a lot of time. It is being responsible for failure of my build https://circleci.com/gh/Vamshi99/coala-bears/10?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
euleram
@vijeth-aradhya
Apr 29 2017 14:38
or is there a coala dev version that complies with 0.4.0?
Yash Nisar
@yash-nisar
Apr 29 2017 14:42
Raise an issue @Vamshi99
Vamshi Krishna
@Vamshi99
Apr 29 2017 14:43
:+1:
coala-bears repo right?
Yash Nisar
@yash-nisar
Apr 29 2017 14:45
Yes
Vamshi Krishna
@Vamshi99
Apr 29 2017 14:47
cobot file issue coala-bears Installation of language_check takes too much time
pip install 'language_check==0.8.* command is taking a lot of time. It is being responsible for failure of some of builds like this one https://circleci.com/gh/Vamshi99/coala-bears/10?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
coala-bot
@coala-bot
Apr 29 2017 14:47
Here you go : coala/coala-bears#1688
euleram
@vijeth-aradhya
Apr 29 2017 15:56
Umm @Adrianzatreanu we have more than 100 bears now and it kinda takes long to install all bears again and it's dependencies and uninstall it in MainTest:test_install_all_bears :P
euleram
@vijeth-aradhya
Apr 29 2017 16:03
Had a look it for awhile
  1. MainTest seems to be working fine for now; I'll have to fix some errors in the other classes :+1:
  2. from bears.c_languages.ClangBear import clang_available, ClangBear ImportError: No module named 'bears' And of course multiple bear dependencies causes error for now because we have not yet handled it (we'll keep this as a special case for now)
Vamshi Krishna
@Vamshi99
Apr 29 2017 17:00
I get this error when I run TOMLBear https://github.com/coala/coala-bears/pull/1409/files on a sample toml file. Can anyone help me?
Traceback information is provided below:

Traceback (most recent call last):
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bears/Bear.py", line 250, in execute
    result = self.run_bear_from_section(args, kwargs)
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bears/Bear.py", line 243, in run_bear_from_section
    return self.run(*args, **kwargs)
  File "/home/vamshi/tenv/lib/python3.5/site-packages/coala-0.11.0.dev99999999999999-py3.5.egg/coalib/bearlib/abstractions/Linter.py", line 562, in run
    **create_arguments_kwargs)
TypeError: create_arguments() takes 2 positional arguments but 3 were given
Anyone respond please!
Yash Nisar
@yash-nisar
Apr 29 2017 17:29
Travis is passing for you @Vamshi99
So, there isn't supposed to be any error
Vamshi Krishna
@Vamshi99
Apr 29 2017 18:09
@yash-nisar But I think I should check the functionality of the bear written by me. Also, I need to add asciinema of how it works
John Vandenberg
@jayvdb
Apr 29 2017 23:21
@vijeth-aradhya , check coala master for version of dep-man