File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,11 @@ jobs:
101101 python-version : ${{ env.LINTING_PYTHON_VERSION }}
102102 cache : ' pip'
103103 cache-dependency-path : ' pyproject.toml'
104- - name : Install with linting tools
105- run : pip install .[linting]
106- - name : Check spelling
107- run : ./tools/run-spellcheck
104+ - name : Lint
105+ run : |
106+ make
107+ . zt_venv/bin/activate
108+ ./tools/run-spellcheck
108109
109110 hotkeys :
110111 runs-on : ubuntu-latest
@@ -118,10 +119,11 @@ jobs:
118119 python-version : ${{ env.LINTING_PYTHON_VERSION }}
119120 cache : ' pip'
120121 cache-dependency-path : ' pyproject.toml'
121- - name : Minimal install
122- run : pip install .
123- - name : Run lint-hotkeys
124- run : ./tools/lint-hotkeys
122+ - name : Lint
123+ run : |
124+ make
125+ . zt_venv/bin/activate
126+ ./tools/lint-hotkeys
125127
126128 docstrings :
127129 runs-on : ubuntu-latest
@@ -135,10 +137,11 @@ jobs:
135137 python-version : ${{ env.LINTING_PYTHON_VERSION }}
136138 cache : ' pip'
137139 cache-dependency-path : ' pyproject.toml'
138- - name : Minimal install
139- run : pip install .
140- - name : Run lint-docstring
141- run : ./tools/lint-docstring
140+ - name : Lint
141+ run : |
142+ make
143+ . zt_venv/bin/activate
144+ ./tools/lint-docstring
142145
143146 gitlint :
144147 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments