Pylint only fail on Travis CI but not local or GitLab CI

Looks like Pylint thinks dataclasses isn’t a standard import · Issue #2261 · PyCQA/pylint.

You need to update isort from Github head:

  • pip install -U git+https://github.com/timothycrosley/isort, or
  • add git+https://github.com/timothycrosley/isort into requirements.txt