Vipyr/vimcryption

View on GitHub

Showing 46 of 58 total issues

Whitespace before ':'
Open

        'AES256' : PassThrough
Severity: Minor
Found in encryptionengine/ciphers.py by pep8

Avoid extraneous whitespace.

Avoid extraneous whitespace in these situations:
- Immediately inside parentheses, brackets or braces.
- Immediately before a comma, semicolon, or colon.

Okay: spam(ham[1], {eggs: 2})
E201: spam( ham[1], {eggs: 2})
E201: spam(ham[ 1], {eggs: 2})
E201: spam(ham[1], { eggs: 2})
E202: spam(ham[1], {eggs: 2} )
E202: spam(ham[1 ], {eggs: 2})
E202: spam(ham[1], {eggs: 2 })

E203: if x == 4: print x, y; x, y = y , x
E203: if x == 4: print x, y ; x, y = y, x
E203: if x == 4 : print x, y; x, y = y, x

Multiple spaces after operator
Open

        result_column[0] = GMUL_BY2[column[0]] ^ GMUL_BY3[column[1]] ^          column[2]  ^          column[3]
Severity: Minor
Found in encryptionengine/aes128engine.py by pep8

Avoid extraneous whitespace around an operator.

Okay: a = 12 + 3
E221: a = 4  + 5
E222: a = 4 +  5
E223: a = 4\t+ 5
E224: a = 4 +\t5

Multiple spaces after operator
Open

        result_column[3] = GMUL_BY11[column[0]] ^ GMUL_BY13[column[1]] ^  GMUL_BY9[column[2]] ^ GMUL_BY14[column[3]]
Severity: Minor
Found in encryptionengine/aes128engine.py by pep8

Avoid extraneous whitespace around an operator.

Okay: a = 12 + 3
E221: a = 4  + 5
E222: a = 4 +  5
E223: a = 4\t+ 5
E224: a = 4 +\t5

Multiple spaces after operator
Open

        result_column[2] =          column[0]  ^          column[1]  ^ GMUL_BY2[column[2]] ^ GMUL_BY3[column[3]]
Severity: Minor
Found in encryptionengine/aes128engine.py by pep8

Avoid extraneous whitespace around an operator.

Okay: a = 12 + 3
E221: a = 4  + 5
E222: a = 4 +  5
E223: a = 4\t+ 5
E224: a = 4 +\t5

Prefer single quoted strings
Open

  let g:vimcryption_cipher = "IOPASS"
Severity: Minor
Found in plugin/vimcryption.vim by vint

Google VimScript Style Guide (Strings)

Prefer single quoted strings
Open

    echo "Vimcryption Disabled!"
Severity: Minor
Found in plugin/vimcryption.vim by vint

Google VimScript Style Guide (Strings)

Severity
Category
Status
Source
Language