community
community copied to clipboard
.coafile section generalization includes many inappropriate files
[DEBUG][19:45:47] Files that will be checked:
[DEBUG][19:45:47] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section generalization...
[WARNING][19:45:48] Failed to read file '/home/travis/build/coala/community/.ci/deploy_key.enc'. It seems to contain non-unicode characters. Leaving it out.
[WARNING][19:45:48] Failed to read file '/home/travis/build/coala/community/activity/__pycache__/scraper.cpython-36.pyc'. It seems to contain non-unicode characters. Leaving it out.
They need to be excluded. Probably others also; see .gitignore.
GitMate.io thinks a possibly related issue is https://github.com/coala/community/issues/6 (Create a .coafile).
@jayvdb please assign me this issue
so what all types of file we need in generalization section @jayvdb can't we specify particular extension of all the files needed to us?
@AkshJain99 , you have not understood the issue, so .. no .. you can not be assigned. Only asked to be assigned to issues you understand.
@jayvdb sorry i have assigned this early but now i got to understand the issue i have check coala logs and also git ignore and trying to figure out the extra unuse files on which coala is running
but one thing waana ask your logs show something else as shown above in description but my logs is this
[WARNING][11:05:42] No bears matching 'PyPluralNamingBear' were found. Make sure you have coala-bears installed or you have typed the name correctly.
Executing section all...
[WARNING][11:05:42] Detected trailing globstar in ignore glob '/home/akshit/community/.git/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:42] Detected trailing globstar in ignore glob '/home/akshit/community/**/__pycache__/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:42] Detected trailing globstar in ignore glob '/home/akshit/community/*/migrations/**'. Please remove the unnecessary '**' from its end.
Executing section all.whitespace...
[WARNING][11:05:43] Detected trailing globstar in ignore glob '/home/akshit/community/.git/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:43] Detected trailing globstar in ignore glob '/home/akshit/community/**/__pycache__/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:43] Detected trailing globstar in ignore glob '/home/akshit/community/*/migrations/**'. Please remove the unnecessary '**' from its end.
Executing section all.python...
[WARNING][11:05:44] Detected trailing globstar in ignore glob '/home/akshit/community/.git/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:44] Detected trailing globstar in ignore glob '/home/akshit/community/**/__pycache__/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:44] Detected trailing globstar in ignore glob '/home/akshit/community/*/migrations/**'. Please remove the unnecessary '**' from its end.
Executing section all.python.default...
[WARNING][11:05:46] Detected trailing globstar in ignore glob '/home/akshit/community/.git/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:46] Detected trailing globstar in ignore glob '/home/akshit/community/**/__pycache__/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:46] Detected trailing globstar in ignore glob '/home/akshit/community/*/migrations/**'. Please remove the unnecessary '**' from its end.
[WARNING][11:05:53] PyFlakesBear: This result has no patch attached.
gci/management/commands/show_linked_students.py
! 46! The line belonging to the following result cannot be printed because it refers to a line that doesn't seem to exist in the given file.
**** PyFlakesBear [Section: all.python.default | Severity: INFO] ****
! ! invalid syntax
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
! ! Please enter a value for the parameter 'editor' (The editor to open the file with.): vim
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit):
by this I am not able to figure out on which file actually coala is running
No, you havent understood the issue. Your comments here show that. What is the goal of the generalisation section of .coafile ?
as far as i understand @jayvdb ithink generalisation section is defined so as to make this file generalised for everyone who use it ,here keyword bear is use which lint all the files and search for the keyword given (here coala) and ignore that keyword in files given so that anybody can use it other that coala
is it something right what i am thinking?