Skip to content

Commit

Permalink
pytest requires flake<5
Browse files Browse the repository at this point in the history
fix mypy
  • Loading branch information
Matthias Wittgen committed Aug 22, 2022
1 parent 0eed036 commit 47e9ab6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
shell: bash -l {0}
run: |
conda install -y -q \
flake8 \
"flake8<5" \
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov
- name: List installed packages
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/mock_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def mockDatasetTypeName(cls, datasetTypeName: str) -> str:
"""Make mock dataset type name from actual dataset type name."""
return "_mock_" + datasetTypeName

def _get(self, ref: Union[DeferredDatasetRef, DatasetRef]) -> Any:
def _get(self, ref: Union[DeferredDatasetRef, DatasetRef) -> Any:
# docstring is inherited from the base class
if isinstance(ref, DeferredDatasetRef):
ref = ref.datasetRef
Expand Down

0 comments on commit 47e9ab6

Please sign in to comment.