File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 3232 with :
3333 python-version : ${{ matrix.python-version }}
3434
35- - name : Install Hatch
36- run : pip install uv
35+ - name : Install dependencies
36+ run :
37+ - apt update && apt install yamllint
38+ - pip install uv
39+
40+ - name : Check code
41+ run :
42+ - yamllint .
43+ - uv run mypy --check .
44+ - uv run ruff check .
3745
3846 - name : Run tests
3947 run : uv run pytest --junitxml=pytest.xml
Original file line number Diff line number Diff line change @@ -69,14 +69,14 @@ def test_unknown_hla_type(self):
6969 Assert we raise a value error if we put in an unknown HLA type.
7070 """
7171 with pytest .raises (ValueError ):
72- _ = EasyHLA ("D" )
72+ _ = EasyHLA ("D" ) # type: ignore[arg-type]
7373
7474 def test_known_hla_type_lowercase (self ):
7575 """
7676 Assert we raise a value error if we put in an HLA type with wrong case.
7777 """
7878 with pytest .raises (ValueError ):
79- _ = EasyHLA ("a" )
79+ _ = EasyHLA ("a" ) # type: ignore[arg-type]
8080
8181 @pytest .mark .parametrize ("easyhla" , ["A" ], indirect = True )
8282 def test_load_allele_definitions_last_modified_time (
You can’t perform that action at this time.
0 commit comments