support/scripts/pkg-stats: fix flake8 errors
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 5 Jan 2021 22:23:31 +0000 (23:23 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 5 Jan 2021 22:34:28 +0000 (23:34 +0100)
commit24dc403be3f1b624d1da56bcd06cabee7a98b089
tree743343ba85c91a6813f6752d813220dbfe590578
parent856a6518750ca170c27ac9b81dc7c9cc2dbd0bfd
support/scripts/pkg-stats: fix flake8 errors

support/scripts/pkg-stats:81:22: E211 whitespace before '('
support/scripts/pkg-stats:404:1: E305 expected 2 blank lines after class or function definition, found 1
support/scripts/pkg-stats:561:12: E713 test for membership should be 'not in'
support/scripts/pkg-stats:567:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:595:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:1051:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:1057:1: E302 expected 2 blank lines, found 1

Also fix:
support/scripts/pkg-stats:1054:5: E722 do not use bare 'except'
found by a more recent flake8 version. The exception may be either
IndexError or AttributeError, so use Exception to catch either.

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