flake8 is a linter that doesn't need much config, and you can config it to give you only "serious" errors and not stylistic issues.
I gave a talk on these subjects last year at the Paris Open Source Summit: https://speakerdeck.com/sfermigier/python-quality-engineerin... (NB: Black didn't exist yet at the time).