From 025f0dc4f880c40833360ae380f4984ac2043f3e Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:16:01 +0100 Subject: [PATCH] Refactor sql database so it supports sqlite, added new vectordb type and improved a few things. ran pylint --- .github/workflows/py_lint.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/py_lint.yaml diff --git a/.github/workflows/py_lint.yaml b/.github/workflows/py_lint.yaml new file mode 100644 index 000000000..faee00f88 --- /dev/null +++ b/.github/workflows/py_lint.yaml @@ -0,0 +1,25 @@ +name: Python Linting + +on: + push: + branches: [ main ] # This will trigger the workflow on pushes to the main branch + pull_request: # This will trigger the workflow on any pull request to any branch + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' # Specify the Python version you want to use + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint # Install pylint + + - name: Run pylint + run: | + pylint $(git ls-files '*.py') # Run pylint on all Python files in the repository