Do an initial setup for running pylint tests in blivet.

The files are just copied from files in anaconda and anaconda specific
stuff removed.
Change output format so that it is suitable for diff-cover.

The diff-cover instructions require setting --output-format to
parseable, but apparently that option is now obsolete.

Signed-off-by: mulhern <amulhern@redhat.com>
Add a script to relate pylint errors to lines changed.

Note that this does not:
1) Identify all new errors that pylint has detected that your code introduced.
2) Omit errors that are in lines that changed but that your code did not
introduce.

Note that it expects that you have already run the pylint testing script and
that pylint has logged the output.

You will need to have diff-cover (https://github.com/edx/diff-cover)
in your path.

Signed-off-by: mulhern <amulhern@redhat.com>
Remove non-doing check target

The only task this check target has is a commented out pylint check,
which has the potential to confuse people.

Signed-off-by: mulhern <amulhern@redhat.com>
Changes to allow pylint checks to be run on a distribution of the source.

That is, we allow for the fact that sometime the top source directory
may not actually be a git working directory.

Changes taken from anaconda commit 67dd55b7d532dadd5ac05cb89e63435b9d76be39.

Signed-off-by: mulhern <amulhern@redhat.com>