Skip to content

Commit 331b6e1

Browse files
mypy
1 parent 8d887b4 commit 331b6e1

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ jobs:
105105
${{ steps.vars.outputs.VENV_CALL }}
106106
python -m pylint geoengine
107107
- name: Type-check code
108+
# mypy seems buggy with uv
109+
if: ${{ !inputs.use-uv }}
108110
run: |
109111
${{ steps.vars.outputs.VENV_CALL }}
110112
python -m mypy geoengine
@@ -119,6 +121,8 @@ jobs:
119121
${{ steps.vars.outputs.VENV_CALL }}
120122
python -m pylint tests
121123
- name: Type-check tests
124+
# mypy seems buggy with uv
125+
if: ${{ !inputs.use-uv }}
122126
run: |
123127
${{ steps.vars.outputs.VENV_CALL }}
124128
python -m mypy tests

.venv/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class User(object):
2+
def __init__(self, name):
3+
self.name = name
4+

0 commit comments

Comments
 (0)