There are currently quite a few ways how to lint your Python project. Flake8, flake9 which is a fork of flake8 that supports pyproject.toml, pyflakes, pep8, black and probably many more. And they're configurable by multiple configuration files; .flake8, setup.cfg, .black, pyproject.toml.
What setup would you use if you start a Python3.10 project from scratch today?