Skip to content

Validate Pydantic imports #568

Validate Pydantic imports

Validate Pydantic imports #568

Workflow file for this run

name: Lint
on:
- pull_request
jobs:
lint_ts:
name: Lint TypeScript source
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
python_version: "3.11.x"
- name: Install JupyterLab
run: pip install jupyterlab~=4.0
- name: Install JS dependencies
run: jlpm
- name: Lint TypeScript source
run: jlpm lerna run lint:check
lint_py_imports:
name: Lint Python imports
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install JupyterLab
run: pip install "jupyterlab~=4.0"
- name: Install `import-linter`
run: pip install "import-linter~=1.12.1"
- name: Install Jupyter AI packages from source
run: |
jlpm install
jlpm install-from-src
- name: Lint Python imports
run: lint-imports