This has a failure mode in each single line, even if we ignore it will not work on any OS that is not debian-like, which is most of them.
First line, you don't chose which Python you install, only the 3, so you don't know if the libs you need will be available, which syntax you can use and which stdlib is at your disposable.
Then, you use venv which may not be available because the first line you used doesn't install all python packages and in some debian/ubuntu versions they don't include venv, setuptools or pip in the python3 package.
Then you pip install packages, which may fail if this has a c extensions which is not a wheel (E.G: you do machine learning), because you didn't get the python headers in the previous commands.
Then you install command lines with apt-get, meaning your tool version may not be upgraded to match the python you used. For pylint and mypy, this means it at beast false positives, at worst crashes
Of course, none of that explains how to setup your IDE to use said virtual, setup things like databases, init the git repo or put good default in config files.
Don't get me wrong, it's a good start, and not worse than most tutorials I read online written by human.
I don't doubt that it will get better over time though, and I can't wait. Bootstrapping is a plague to teach people.