diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec89aff..6866365 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -70,7 +70,7 @@ repos: name: Check code for common misspellings language: system types: [text] - exclude: ^poetry\.lock$ + exclude: ^(poetry\.lock$|custom_components/ojmicroline_thermostat/translations/) entry: poetry run codespell args: [--ignore-words=.codespell-ignore, --skip=./custom_components/ojmicroline_thermostat/translations] - id: debug-statements diff --git a/custom_components/ojmicroline_thermostat/translations/pt-PT.json b/custom_components/ojmicroline_thermostat/translations/pt.json similarity index 100% rename from custom_components/ojmicroline_thermostat/translations/pt-PT.json rename to custom_components/ojmicroline_thermostat/translations/pt.json