fix pylint warnings

use relative imports

rename `fields` argument
Merge pull request #21 from gurneyalex/7.0-fix-pylint

fix pylint warnings