From ed97e527a72e85001d0bcc399254d17dd118f60a Mon Sep 17 00:00:00 2001 From: Ben Andrew Date: Wed, 13 Sep 2023 12:10:06 -0400 Subject: [PATCH] chore: update .pre-commit-config.yaml --- .pre-commit-config.yaml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 154548dd..600c860e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/ambv/black - rev: 22.12.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/pycqa/isort @@ -8,21 +8,30 @@ repos: hooks: - id: isort args: - - "--profile=black" - "--filter-files" - "--project=autora" - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 args: - "--max-line-length=100" - "--extend-ignore=E203" + - "--per-file-ignores=__init__.py:F401" - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.991" + rev: "v1.5.1" hooks: - id: mypy - additional_dependencies: [types-requests] + additional_dependencies: [types-requests,scipy,pytest] language_version: python3.8 + args: + - "--namespace-packages" + - "--explicit-package-bases" + - repo: https://github.com/srstevenson/nb-clean + rev: 2.4.0 + hooks: + - id: nb-clean + args: + - --preserve-cell-outputs default_language_version: python: python3