diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f03099d..729026b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,17 +32,17 @@ repos: rev: v2.31.0 hooks: - id: pyupgrade - args: [--py36-plus] + args: [--py37-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.6.0 + rev: v2.7.1 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 21.12b0 + rev: 22.1.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.12.0 + rev: v1.12.1 hooks: - id: blacken-docs additional_dependencies: [black] @@ -93,7 +93,6 @@ repos: --ignore-missing-imports, ] pass_filenames: false - language_version: "3.9" - repo: meta hooks: - id: check-hooks-apply diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index f685c7e..b706528 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: check-added-large-files args: ['--maxkb=25'] @@ -11,7 +11,6 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: fix-byte-order-marker - - id: forbid-new-submodules - id: mixed-line-ending - id: no-commit-to-branch args: [--branch, main] @@ -29,12 +28,12 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char - repo: https://github.com/asottile/pyupgrade - rev: v2.29.1 + rev: v2.31.0 hooks: - id: pyupgrade - args: [--py36-plus] + args: [--py37-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.6.0 + rev: v2.7.1 hooks: - id: reorder-python-imports - repo: https://github.com/asottile/setup-cfg-fmt @@ -42,11 +41,11 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/psf/black - rev: 21.12b0 + rev: 22.1.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.12.0 + rev: v1.12.1 hooks: - id: blacken-docs additional_dependencies: [black] @@ -84,11 +83,11 @@ repos: hooks: - id: codespell - repo: https://github.com/guilatrova/tryceratops - rev: v1.0.0 + rev: v1.0.1 hooks: - id: tryceratops - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.910-1' + rev: 'v0.931' hooks: - id: mypy args: [ @@ -96,7 +95,6 @@ repos: --ignore-missing-imports, ] pass_filenames: false - language_version: "3.9" - repo: meta hooks: - id: check-hooks-apply diff --git a/{{cookiecutter.project_slug}}/environment.yml b/{{cookiecutter.project_slug}}/environment.yml index 581a0e0..6a21a69 100644 --- a/{{cookiecutter.project_slug}}/environment.yml +++ b/{{cookiecutter.project_slug}}/environment.yml @@ -14,7 +14,7 @@ dependencies: - conda-lock # Package dependencies - - pytask + - pytask >=0.1.7 # Misc - black