support/scripts/pkg-stats: fix flake8 errors
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 7 Feb 2019 21:04:26 +0000 (22:04 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 7 Feb 2019 21:09:55 +0000 (22:09 +0100)
commit3f6587266e6cef81918f24c0c1c2bf9a654a2ac1
tree3b51369b8ddff57742771ce673f948951c5bb0db
parent13ccd7e7fef7a353151cd61cd3ecd6590dfb3ddf
support/scripts/pkg-stats: fix flake8 errors

Fixes the following flake8 warnings:

support/scripts/pkg-stats:34:2: W605 invalid escape sequence '\$'
support/scripts/pkg-stats:34:4: W605 invalid escape sequence '\('
support/scripts/pkg-stats:34:11: W605 invalid escape sequence '\$'
support/scripts/pkg-stats:34:13: W605 invalid escape sequence '\('
support/scripts/pkg-stats:34:32: W605 invalid escape sequence '\)'
support/scripts/pkg-stats:34:34: W605 invalid escape sequence '\)'
support/scripts/pkg-stats:35:2: W605 invalid escape sequence '\s'
support/scripts/pkg-stats:35:14: W605 invalid escape sequence '\S'
support/scripts/pkg-stats:35:17: W605 invalid escape sequence '\s'
support/scripts/pkg-stats:42:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:587:133: E501 line too long (157 > 132 characters)

Note that the "invalid escape sequence" errors work because Python
leaves the \ in place if it doesn't recognise the escape sequence. But
it's better practice to use a raw string for regular expressions.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/scripts/pkg-stats