Skip to content

added diagnostics and removed code lens #12

added diagnostics and removed code lens

added diagnostics and removed code lens #12

Workflow file for this run

name: Lint and Streamlit Check
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
run-linters:
name: Run Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
pip install black flake8 streamlit
- name: Run Python linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
black: true
flake8: true
- name: Streamlit Check
run: |
# Remove the old 'streamlit run streamlit.py' line.
python streamlit_test.py && echo "Streamlit test passed!" || echo "Streamlit test failed."