Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Dec 26, 2023
1 parent f4f2ff5 commit 4e3fd73
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,39 @@ jobs:
which pip
python --version
pip --version
- name: Create and activate venv
- name: Create venv
run: |
python -m venv lint_py_imports
source ./lint_py_imports/bin/activate
- name: Install JupyterLab
run: pip install jupyterlab~=4.0
- name: Install `import-linter`
run: pip install import-linter~=1.12.1
- name: Echo environment details
run: |
which python
which pip
which jlpm
python --version
pip --version
ls /usr/lib/python3/dist-packages/attr
cat /usr/lib/python3/dist-packages/attr/__init__.py
- name: Echo environment details
run: |
source lint_py_imports/bin/activate
which python
which pip
python --version
pip --version
- name: Install job dependencies
run: |
source ./lint_py_imports/bin/activate
pip install jupyterlab~=4.0
pip install `import-linter`
- name: Install Jupyter AI packages from source
run: |
source ./lint_py_imports/bin/activate
jlpm install
jlpm install-from-src
- name: Lint Python imports
run: lint-imports
run: |
source ./lint_py_imports/bin/activate
jlpm lint-imports

0 comments on commit 4e3fd73

Please sign in to comment.