From e0a9c800ccfd2057137f60d9ed2dab68f18d6a2e Mon Sep 17 00:00:00 2001 From: Ben Andrew Date: Wed, 13 Sep 2023 11:39:37 -0400 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 064e5d46..600c860e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/ambv/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/pycqa/isort @@ -8,22 +8,25 @@ 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: "v1.3.0" + 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: