Going towards the end of life of Python2 (18 months from now), we should start having CI vote -1/-2 if there is any new python2 files pushed in the repository.
Of course this is pretty easy to be done just checking the shebang, while might be impossible for scripts that don't have a shebang