Skip to content

Commit dcd43b7

Browse files
authored
Merge branch 'snowflake' into snowflake
Signed-off-by: Jayaram <96161233+Jayaram007@users.noreply.github.com>
2 parents 75f3f46 + fea2a87 commit dcd43b7

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

.github/workflows/CI.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
pull_request:
9+
branches:
10+
- "**"
11+
12+
jobs:
13+
format-core:
14+
name: 'Format Core'
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
python-version: [3.12]
20+
21+
steps:
22+
- name: Checkout Repository
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Install Dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install black
34+
35+
- name: Format Backend
36+
run: |
37+
black version_1/ version_2/
38+
39+
- name: Post Formatting Check
40+
run: git diff --exit-code

version_1/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,4 +1125,4 @@ def load_chat_history(session_id: str):
11251125
except Exception:
11261126
pass
11271127

1128-
st.rerun()
1128+
st.rerun()

version_1/setup.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ SELECT
123123
-- Database: AIFAQ_VERSION1_DB
124124
-- Schema: APP_SCHEMA
125125
-- Warehouse: AIFAQ_WAREHOUSE
126-
-- Tables: DOCUMENTS, CHUNKS, EMBEDDINGS, CHAT_HISTORY
126+
-- Tables: DOCUMENTS, CHUNKS, EMBEDDINGS, CHAT_HISTORY

0 commit comments

Comments
 (0)