From ff22b7bdf66ce0c4abec1ca6e8d04a25ba62f615 Mon Sep 17 00:00:00 2001 From: tazlin Date: Sun, 1 Oct 2023 06:55:00 -0400 Subject: [PATCH] chore: ignore testing/vscode folders --- .gitignore | 2 ++ .pre-commit-config.yaml | 25 ++++++++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5b0f67e7..f203a80e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ bridgeData.yaml +testing +.vscode/ # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 87bfb12f..e026f96f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,34 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v4.4.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.275 + rev: v0.0.287 hooks: - id: ruff +- repo: https://github.com/pre-commit/mirrors-mypy + rev: 'v1.5.1' + hooks: + - id: mypy + additional_dependencies: + - pydantic + - types-requests + - types-pytz + - types-setuptools + - types-urllib3 + - StrEnum + - types-pillow + - types-pyyaml + - types-pygments + - types-colorama + - types-psutil + - types-pywin32 + - types-tabulate + - types-tqdm