diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63df35e..f5312c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -86,12 +86,12 @@ repos: additional_dependencies: ["tomli"] - repo: https://github.com/Mateusz-Grzelinski/actionlint-py - rev: v1.7.0.14 + rev: v1.7.1.15 hooks: - id: actionlint - repo: https://github.com/pycqa/flake8 - rev: "7.0.0" + rev: "7.1.0" hooks: - id: flake8 additional_dependencies: @@ -104,7 +104,7 @@ repos: args: [ "-d", "{rules: {line-length: {max: 120}}, ignore-from-file: [.gitignore],}", ] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.5 + rev: v0.4.9 hooks: - id: ruff files: ^(scripts|tests|custom_components)/.+\.py$ @@ -112,6 +112,14 @@ repos: - id: ruff-format files: ^(scripts|tests|custom_components)/.+\.py$ + - repo: local + hooks: + - id: mypy-cache + name: "create mypy cache" + language: system + pass_filenames: false + entry: bash -c 'if [ ! -d .mypy_cache ]; then /bin/mkdir .mypy_cache; fi; exit 0' + - repo: https://github.com/pre-commit/mirrors-mypy rev: "v1.10.0" hooks: diff --git a/README.md b/README.md index de4f420..bb3ef0e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# project-template +# iso3166-ingest template for the team to use @@ -69,3 +69,5 @@ template for the team to use └── tox.ini <- tox file with settings for running tox; see tox.readthedocs.io --- + +Project based on the [cookiecutter](https://drivendata.github.io/cookiecutter-data-science/) data science project template