update codecarbon (#35243)
* update codecarbon
* replace directly-specified-test-dirs with tmp_dir
* Revert "replace directly-specified-test-dirs with tmp_dir"
This reverts commit 310a6d962ec83db3f6d4f96daeeba5c6746f736c.
* revert the change of .gitignore
* Update .gitignore
---------
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>