Skip to content

Instantly share code, notes, and snippets.

@newbazz
Created November 27, 2017 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newbazz/8814cc2277081e41e5089d27ddf7e27a to your computer and use it in GitHub Desktop.
Save newbazz/8814cc2277081e41e5089d27ddf7e27a to your computer and use it in GitHub Desktop.
game/bomb.py
[ 137] ········if·self.x·>·1·and·(perm[self.y][self.x-1]·==·2·or·perm[self.y][self.x-1]·==·0):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (87 > 80 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 142] ········if·self.y·>·1·and·(perm[self.y-1][self.x]·==·2·or·perm[self.y-1][self.x]·==·0):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (87 > 80 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 7] » » for·i·in·range(1,·37):
**** PycodestyleBear (E101) [Section: autopep8 | Severity: NORMAL] ****
! ! E101 indentation contains mixed spaces and tabs
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 7] » » for·i·in·range(1,·37):
**** PycodestyleBear (W191) [Section: autopep8 | Severity: NORMAL] ****
! ! W191 indentation contains tabs
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 8] ············for·j·in·range(1,135):
**** PycodestyleBear (E901) [Section: autopep8 | Severity: NORMAL] ****
! ! E901 IndentationError: unindent does not match any outer indentation level
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): Program terminated by user.
krutam@krutam-HP-Notebook:~/bomberman$ c
krutam@krutam-HP-Notebook:~/bomberman$ coala
[WARNING][15:53:17] Implicit 'Default' section inheritance is deprecated. It will be removed soon. To silence this warning remove settings in the 'Default' section from your coafile. You can use dots to specify inheritance: the section 'all.python' will inherit all settings from 'all'.
Executing section python...
Executing section autopep8...
game/permanent.py
[ 7] » » for·i·in·range(1,·37):
**** PycodestyleBear (E101) [Section: autopep8 | Severity: NORMAL] ****
! ! E101 indentation contains mixed spaces and tabs
[ ] *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.): subl
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 7] » » for·i·in·range(1,·37):
**** PycodestyleBear (W191) [Section: autopep8 | Severity: NORMAL] ****
! ! W191 indentation contains tabs
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 8] ············for·j·in·range(1,135):
**** PycodestyleBear (E901) [Section: autopep8 | Severity: NORMAL] ****
! ! E901 IndentationError: unindent does not match any outer indentation level
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
[INFO][15:55:31] Applied 'ApplyPatchAction' on 'game/enemy.py' from 'PEP8Bear'.
game/enemy.py
[ 39] ············perm[self.y][self.x+1]·==·3)):
**** PycodestyleBear (E125) [Section: autopep8 | Severity: NORMAL] ****
! ! E125 continuation line with same indent as next logical line
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/enemy.py
[ 39] ············perm[self.y][self.x+1]·==·3)):
**** PycodestyleBear (E128) [Section: autopep8 | Severity: NORMAL] ****
! ! E128 continuation line under-indented for visual indent
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/wall.py
[ 96] ············while(i·<·2*level+3·and·enemy[i]·==·None):
**** PycodestyleBear (E711) [Section: autopep8 | Severity: NORMAL] ****
! ! E711 comparison to None should be 'if cond is None:'
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/wall.py
[ 97] ················if·enemy[i]·==·None:
**** PycodestyleBear (E711) [Section: autopep8 | Severity: NORMAL] ****
! ! E711 comparison to None should be 'if cond is None:'
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/wall.py
[ 209] ············while(i·<·2*level+3·and·enemy[i]·==·None):
**** PycodestyleBear (E711) [Section: autopep8 | Severity: NORMAL] ****
! ! E711 comparison to None should be 'if cond is None:'
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 63] ········if((bomberman.x·==·self.x·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x+1·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x·and·bomberman.y·==·self.y+1)·or·(bomberman.x·==·self.x-1·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x·and·bomberman.y·==·self.y-1)):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (282 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 75] ········if·self.x·<·31·and·(perm[self.y][self.x+1]·==·2·or·perm[self.y][self.x+1]·==·0·or·perm[self.y][self.x+1]·==·3):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (119 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 85] ········if·self.y·<·15·and·(perm[self.y+1][self.x]·==·2·or·perm[self.y+1][self.x]·==·0·or·perm[self.y+1][self.x]·==·3):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (119 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 95] ········if·self.x·>·1·and·(perm[self.y][self.x-1]·==·2·or·perm[self.y][self.x-1]·==·0·or·perm[self.y][self.x-1]·==·3):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (118 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 105] ········if·self.y·>·1·and·(perm[self.y-1][self.x]·==·2·or·perm[self.y-1][self.x]·==·0·or·perm[self.y-1][self.x]·==·3):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (118 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 115] ············if(en[i]·!=·None·and·((en[i].x·==·self.x·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x+1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y+1)·or·(en[i].x·==·self.x-1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y-1))):
**** PycodestyleBear (E711) [Section: autopep8 | Severity: NORMAL] ****
! ! E711 comparison to None should be 'if cond is not None:'
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 1
[ ] Changes saved successfully.
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 115] ············if(en[i]·!=·None·and·((en[i].x·==·self.x·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x+1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y+1)·or·(en[i].x·==·self.x-1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y-1))):
**** PycodestyleBear (E501) [Section: autopep8 | Severity: NORMAL] ****
! ! E501 line too long (266 > 110 characters)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
Executing section linelength...
game/bomb.py
[ 63] ········if((bomberman.x·==·self.x·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x+1·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x·and·bomberman.y·==·self.y+1)·or·(bomberman.x·==·self.x-1·and·bomberman.y·==·self.y)·or·(bomberman.x·==·self.x·and·bomberman.y·==·self.y-1)):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (282 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 75] ········if·self.x·<·31·and·(perm[self.y][self.x+1]·==·2·or·perm[self.y][self.x+1]·==·0·or·perm[self.y][self.x+1]·==·3):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (119 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 85] ········if·self.y·<·15·and·(perm[self.y+1][self.x]·==·2·or·perm[self.y+1][self.x]·==·0·or·perm[self.y+1][self.x]·==·3):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (119 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 95] ········if·self.x·>·1·and·(perm[self.y][self.x-1]·==·2·or·perm[self.y][self.x-1]·==·0·or·perm[self.y][self.x-1]·==·3):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (118 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 105] ········if·self.y·>·1·and·(perm[self.y-1][self.x]·==·2·or·perm[self.y-1][self.x]·==·0·or·perm[self.y-1][self.x]·==·3):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (118 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/bomb.py
[ 115] ············if(en[i]·is·not·None·and·((en[i].x·==·self.x·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x+1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y+1)·or·(en[i].x·==·self.x-1·and·en[i].y·==·self.y)·or·(en[i].x·==·self.x·and·en[i].y·==·self.y-1))):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (270 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
game/permanent.py
[ 9] ················if·(i·==·1·or·i·==·2·or·i·==·3·or·j·==·1·or·j·==·2·or·j·==·3·or·j·==·4·or·j·==·5·or·j·==·134·or·i·==·34·or·i·==·36·or·i·==·35·or·j==·133·or·j·==·130·or·j·==·131·or·j·==·132):
**** LineLengthBear [Section: linelength | Severity: NORMAL] ****
! ! Line is longer than allowed. (190 > 110)
[ ] *0. Do (N)othing
[ ] 1. (O)pen file
[ ] 2. Add (I)gnore comment
[ ] Enter number (Ctrl-D to exit): 0
Executing section cli...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment