Skip to content

Commit

Permalink
fix: lint for all libs
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <[email protected]>
  • Loading branch information
ab93 committed Jun 6, 2024
1 parent 290b05c commit f40a658
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,15 @@ jobs:
with:
options: "--check --verbose"
version: "~= 23.3"
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
pip install ruff==0.4.7
ruff check -v .
# - uses: chartboost/ruff-action@v1
# with:
# src: '.'
# args: 'check -v --config libs/numalogic-core/pyproject.toml'
# version: 0.4.7
numalogic-connectors:
name: numalogic-connectors
runs-on: ubuntu-latest
Expand All @@ -45,9 +40,15 @@ jobs:
with:
options: "--check --verbose"
version: "~= 23.3"
- uses: chartboost/ruff-action@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
version: 0.4.7
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
pip install ruff==0.4.7
ruff check -v .
numalogic-registry:
name: numalogic-registry
runs-on: ubuntu-latest
Expand All @@ -60,6 +61,12 @@ jobs:
with:
options: "--check --verbose"
version: "~= 23.3"
- uses: chartboost/ruff-action@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
version: 0.4.7
python-version: 3.11
cache: 'pip'
- name: Install dependencies
run: |
pip install ruff==0.4.7
ruff check -v .

0 comments on commit f40a658

Please sign in to comment.