Clean the sentiments in the insight messages. #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies and run linting. | |
name: Linting (Backend) | |
on: | |
push: | |
paths: | |
- analysis/**.py | |
- database/**.py | |
- ingestion/**.py | |
- .github/workflows/backend-linting.yml | |
pull_request: | |
paths: | |
- analysis/**.py | |
- database/**.py | |
- ingestion/**.py | |
- .github/workflows/backend-linting.yml | |
workflow_dispatch: | |
jobs: | |
Linting_Backend: | |
strategy: | |
matrix: | |
python-version: [3.11] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies (Backend) | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
if [ -f dev_requirements.txt ]; then pip install -r dev_requirements.txt; fi | |
- name: Linting (Backend) | |
run: | | |
pylint -f colorized analysis database ingestion |