3131 with :
3232 python-version : ${{ env.LINTING_PYTHON_VERSION }}
3333 cache : ' pip'
34- cache-dependency-path : ' setup.py '
34+ cache-dependency-path : ' pyproject.toml '
3535 - name : Install with type-checking tools, stubs & minimal test libraries
3636 run : pip install .[typing,testing_minimal]
3737 - name : Run mypy
@@ -48,11 +48,11 @@ jobs:
4848 with :
4949 python-version : ${{ env.LINTING_PYTHON_VERSION }}
5050 cache : ' pip'
51- cache-dependency-path : ' setup.py '
51+ cache-dependency-path : ' pyproject.toml '
5252 - name : Install with linting tools
5353 run : pip install .[linting]
5454 - name : Run ruff
55- run : ruff zulipterminal/ tests/ setup.py `tools/python_tools.py`
55+ run : ruff zulipterminal/ tests/ `tools/python_tools.py`
5656
5757 isort :
5858 runs-on : ubuntu-latest
6565 with :
6666 python-version : ${{ env.LINTING_PYTHON_VERSION }}
6767 cache : ' pip'
68- cache-dependency-path : ' setup.py '
68+ cache-dependency-path : ' pyproject.toml '
6969 - name : Install with linting tools & minimal test libraries
7070 # NOTE: Install pytest so that isort recognizes it as a known library
7171 run : pip install .[linting,minimal_testing]
@@ -83,11 +83,11 @@ jobs:
8383 with :
8484 python-version : ${{ env.LINTING_PYTHON_VERSION }}
8585 cache : ' pip'
86- cache-dependency-path : ' setup.py '
86+ cache-dependency-path : ' pyproject.toml '
8787 - name : Install with linting tools
8888 run : pip install .[linting]
8989 - name : Check code & tests meet black standards
90- run : black --check zulipterminal/ tests/ setup.py `tools/python_tools.py`
90+ run : black --check zulipterminal/ tests/ `tools/python_tools.py`
9191
9292 spellcheck :
9393 runs-on : ubuntu-latest
@@ -100,7 +100,7 @@ jobs:
100100 with :
101101 python-version : ${{ env.LINTING_PYTHON_VERSION }}
102102 cache : ' pip'
103- cache-dependency-path : ' setup.py '
103+ cache-dependency-path : ' pyproject.toml '
104104 - name : Install with linting tools
105105 run : pip install .[linting]
106106 - name : Check spelling
@@ -117,7 +117,7 @@ jobs:
117117 with :
118118 python-version : ${{ env.LINTING_PYTHON_VERSION }}
119119 cache : ' pip'
120- cache-dependency-path : ' setup.py '
120+ cache-dependency-path : ' pyproject.toml '
121121 - name : Minimal install
122122 run : pip install .
123123 - name : Run lint-hotkeys
@@ -134,7 +134,7 @@ jobs:
134134 with :
135135 python-version : ${{ env.LINTING_PYTHON_VERSION }}
136136 cache : ' pip'
137- cache-dependency-path : ' setup.py '
137+ cache-dependency-path : ' pyproject.toml '
138138 - name : Minimal install
139139 run : pip install .
140140 - name : Run lint-docstring
@@ -181,7 +181,7 @@ jobs:
181181 with :
182182 python-version : 3.7
183183 cache : ' pip'
184- cache-dependency-path : ' setup.py '
184+ cache-dependency-path : ' pyproject.toml '
185185 - name : Output Python version
186186 run : python --version
187187 - name : Upgrade pip
@@ -220,7 +220,7 @@ jobs:
220220 with :
221221 python-version : ${{ env.LINTING_PYTHON_VERSION }}
222222 cache : ' pip'
223- cache-dependency-path : ' setup.py '
223+ cache-dependency-path : ' pyproject.toml '
224224 - name : Run check-branch
225225 if : github.event_name == 'pull_request'
226226 # Note that we install at each step since dependencies may change
@@ -258,7 +258,7 @@ jobs:
258258 with :
259259 python-version : ${{ matrix.env.PYTHON }}
260260 cache : ' pip'
261- cache-dependency-path : ' setup.py '
261+ cache-dependency-path : ' pyproject.toml '
262262 - name : Output Python version
263263 run : python --version
264264 - name : Upgrade pip
0 commit comments