chore(deps): bump otel.instrumentation.version (#4489) #157
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
name: Python client lint | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths: | |
- .github/workflows/client-lint.yaml | |
- client/verta/verta/**.py | |
push: | |
branches: | |
- main | |
- "release/*" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client/verta | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install verta | |
run: python -m pip install . | |
- name: Import verta | |
run: python -c 'from verta import Client' | |
- name: Install pylint | |
run: python -m pip install pylint | |
- name: Run pylint | |
run: pylint --disable=R,C,W verta |