Skip to content

Commit 5a0b684

Browse files
ci: deal with mypy error and remove redundant caching of poetry lock which should no longer be needed
1 parent d628966 commit 5a0b684

3 files changed

Lines changed: 1 addition & 18 deletions

File tree

.github/workflows/ci_linting.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ jobs:
3030
- name: ensure poetry using desired python version
3131
run: poetry env use $(asdf which python)
3232

33-
- name: Cache Poetry virtualenv
34-
uses: actions/cache@v4
35-
with:
36-
path: ~/.cache/pypoetry
37-
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
38-
restore-keys: |
39-
${{ runner.os }}-poetry-
40-
4133
- name: Install lint dependencies
4234
run: |
4335
make install

.github/workflows/ci_testing.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ jobs:
3030

3131
- name: ensure poetry using desired python version
3232
run: poetry env use $(asdf which python)
33-
34-
- name: Cache Poetry virtualenv
35-
uses: actions/cache@v4
36-
with:
37-
path: ~/.cache/pypoetry
38-
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
39-
restore-keys: |
40-
${{ runner.os }}-poetry-
4133

4234
- name: Install test dependencies
4335
run: |

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ ignore = ["B028", "D213", "D203", "D205", "D107", "D105"]
8787

8888
[tool.mypy]
8989
plugins = ["pydantic.mypy"]
90-
enable_recursive_aliases = true
9190

9291
[[tool.mypy.overrides]]
93-
module = "polars"
92+
module = "polars.*"
9493
follow_imports = "skip"
9594
# ^language server knows what's going on, but mypy can't find attributes on Self? type
9695

0 commit comments

Comments
 (0)