Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

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

updates:
- [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0)
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
- [github.com/PyCQA/bandit: 1.7.6 → 1.7.8](PyCQA/bandit@1.7.6...1.7.8)
- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](kynan/nbstripout@0.6.1...0.7.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 2, 2024
1 parent e2c499b commit 5bb323c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: detect-private-key

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.3.0
hooks:
- id: black
name: "Black: The uncompromising Python code formatter"
Expand All @@ -45,13 +45,13 @@ repos:
- "*.bib,*.ipynb"

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: [ --py39-plus ]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
rev: 1.7.8
hooks:
- id: bandit
language_version: python3
Expand All @@ -61,7 +61,7 @@ repos:
- "B404,B602,B603,B607,B101"

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
args: [ "max-size 100k" ]
1 change: 1 addition & 0 deletions src/llm_chain/conversation_chain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Wrapper around Lightning App."""

import logging
from collections import deque
from typing import Optional, Union
Expand Down
1 change: 1 addition & 0 deletions src/llm_chain/ui/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Python file to serve as the frontend"""

import logging

import rich
Expand Down

0 comments on commit 5bb323c

Please sign in to comment.