Refactor sql database so it supports sqlite, added new vectordb type and improved a few things. ran pylint
This commit is contained in:
parent
b3f29d3f2d
commit
025f0dc4f8
1 changed files with 25 additions and 0 deletions
25
.github/workflows/py_lint.yaml
vendored
Normal file
25
.github/workflows/py_lint.yaml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue