These are chat archives for coala/coala-bears

31st
May 2018
Vaibhav Rai
@RaiVaibhav
May 31 2018 04:27
None of the difficulty/low PR in coala-bears is in pending/review :+1:
Kriti Rohilla
@kriti21
May 31 2018 04:34

like mylist = typed_list(str)(section['files'].value

How do I access section here from coafile?

Vaibhav Rai
@RaiVaibhav
May 31 2018 04:38

you can check this gather_configuration to get all the sections of .coafile https://github.com/coala/coala/blob/master/coalib/coala_main.py#L139

Also During intialization of every Bear the section arg gets initialized, indirectly every bear know where files came from but in this case Bear only knows about that section in which it is called

Check this also https://github.com/coala/coala/blob/master/coalib/bears/Bear.py#L233
I don't know about the NextGencore now, so it also depend how you want to use it
Vaibhav Rai
@RaiVaibhav
May 31 2018 04:47
Also note that coala parse CLI and config file differently but in last you get the same section but with extra key from_cli