python: Fix black formatting after bump to 23.1.0 in pre-commit
and exclude api_data.py file from codespell in pre-commit; it's full of stuff codespell fail to check.
and exclude api_data.py file from codespell in pre-commit; it's full of stuff codespell fail to check.