Skip to content

Instantly share code, notes, and snippets.

@txomon
Created August 16, 2015 22:11
Show Gist options
  • Save txomon/5e9a630dc8d5c8eba723 to your computer and use it in GitHub Desktop.
Save txomon/5e9a630dc8d5c8eba723 to your computer and use it in GitHub Desktop.
Mopidy flake8 execution with flake8-quotes2 installed
% flake8 2>/dev/null
unknown option 'application-import-names' ignored
./tests/test_httpclient.py:10:26: Q100 Single quotes should be used by default: "config,expected"
./tests/test_httpclient.py:32:26: Q100 Single quotes should be used by default: "name,expected"
./tests/mpd/test_tokenizer.py:68:44: Q101 Double quotes should be used to avoid single quote scaping : 'test foo\'bar'
./mopidy/httpclient.py:7:1: Q100 Single quotes should be used by default: "Helpers for configuring HTTP clients used in Mopidy extensions."
./tests/mpd/protocol/test_music_db.py:76:43: Q100 Single quotes should be used by default: "2001"
./tests/mpd/protocol/test_music_db.py:77:43: Q100 Single quotes should be used by default: "2001"
./tests/mpd/protocol/test_music_db.py:87:43: Q100 Single quotes should be used by default: "2001"
./mopidy/m3u/translator.py:86:24: Q101 Double quotes should be used to avoid single quote scaping : 'Couldn\'t open m3u: %s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment