Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#65)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/igorshubovych/markdownlint-cli: v0.41.0 → v0.42.0](igorshubovych/markdownlint-cli@v0.41.0...v0.42.0)
- [github.com/Mateusz-Grzelinski/actionlint-py: v1.7.1.15 → v1.7.3.17](Mateusz-Grzelinski/actionlint-py@v1.7.1.15...v1.7.3.17)
- [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.7.0](astral-sh/ruff-pre-commit@v0.5.5...v0.7.0)
- [github.com/pre-commit/mirrors-mypy: v1.11.0 → v1.12.1](pre-commit/mirrors-mypy@v1.11.0...v1.12.1)

* Chore: pre-commit autoupdate

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Oct 28, 2024
1 parent 2a713e5 commit 111fd41
Show file tree
Hide file tree
Showing 4 changed files with 1,621 additions and 1,608 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude: |
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand Down Expand Up @@ -42,7 +42,7 @@ repos:
['--no-error-on-unmatched-pattern', '--ignore-unknown']

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
rev: v0.42.0
hooks:
- id: markdownlint
args: ["--fix"]
Expand All @@ -65,7 +65,7 @@ repos:
args: ["-x"] # Check external files

- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.7.1.15
rev: v1.7.3.17
hooks:
- id: actionlint

Expand All @@ -78,7 +78,7 @@ repos:
ignore-from-file: [.gitignore],}"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.5
rev: v0.7.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --config=pyproject.toml]
Expand All @@ -94,7 +94,7 @@ repos:
then /bin/mkdir .mypy_cache; fi; exit 0'

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.11.0"
rev: "v1.12.1"
hooks:
- id: mypy
verbose: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"question = \"How many programming languages does BLOOM support?\"\n",
"context = \"BLOOM has 176 billion parameters and can generate text in 46 languages natural languages and 13 programming languages.\""
]
Expand All @@ -58,18 +57,14 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import torch\n",
"from transformers import AutoModelForQuestionAnswering, AutoTokenizer"
]
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"\n",
"question = \"How many programming languages does BLOOM support?\"\n",
"context = \"BLOOM has 176 billion parameters and can generate text in 46 languages natural languages and 13 programming languages.\""
]
Expand Down
Loading

0 comments on commit 111fd41

Please sign in to comment.