These are chat archives for coala/coala-bears
I'm trying to create a unit test around a bear linter.
The bear is subclassing the GlobalBear class, but i'm getting this error when running:
__init__() takes from 1 to 2 positional arguments but 4 were given
I'm not overwriting the init method in my Bear class. This is how I create a instance of my class:
self.uut = CredoBear(file_dict, self.section, self.queue)
file_dict is a dictionary of files and the content of corresponding file,
self.section is a instance of a Section class and
self.queue is a empty Queue (per the documentation)
If I just pass the
file_dict to the initialization of the Bear:
self.uut = CredoBear(file_dict)
I'm getting this error:
TypeError: getattr(): attribute name must be string
Any suggestions on what I'm missing? :)
@nemaniarjun I am doing that, I'm using the CPDBear as a reference implementation.
Probably something I'm missing..
This will print "Hi" >>> print("Not hi") Hi
ignore_length_regexas stated by LineLengthBear?
ignore_length_regexis used for?
ignore_length_regexwhich exactly opposes PEP8 compliance on coala-bears.
.pyfiles seems to have a line length <= 79
i reffered .rultor.yml file in coala as well as coala-bears repo and the former has .misc and latter has .ci directory. there is no such directory in bear-docs. I need rultor to fetch those files but in bear-docs repo there is only docs directory.