fix: cherry pick from fix/avoid-extend-exclude, so manage ignore .cache with .gitignore
- change black-args to .
- change mypy-args to --exclude-gitignore
- ruff ignore manage by .gitignore
- black ignore manage by .gitignore
add TRACE to many command