CI clean pre-commit: upgrade isort, use correct file types in flake8 (#37052)
CI clean pre-commit: upgrade isort, use correct file types in flake8 (#37052)


gfyoung/pandas,jorisvandenbossche/pandas,jreback/pandas,gfyoung/pandas,datapythonista/pandas,jreback/pandas,dsm054/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,jorisvandenbossche/pandas,gfyoung/pandas,pandas-dev/pandas,pandas-dev/pandas,jreback/pandas,jreback/pandas,rs2/pandas,pandas-dev/pandas,gfyoung/pandas,dsm054/pandas,jreback/pandas,dsm054/pandas,jorisvandenbossche/pandas,rs2/pandas,rs2/pandas,dsm054/pandas,datapythonista/pandas,dsm054/pandas,rs2/pandas,datapythonista/pandas,datapythonista/pandas,gfyoung/pandas