Skip to content

Commit

Permalink
Change collections import to abide by new package design (#264)
Browse files Browse the repository at this point in the history
* try - catch for conditional collections import

* flkae8 ed

* added v3.10 in workflow

* added py 3.10

* removed redundancy

* removing try-catch

* formattted
  • Loading branch information
hrshdhgd authored Sep 8, 2022
1 parent 51f43b2 commit 2ab87d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9' ]
python-version: [ '3.9', '3.10' ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9' ]
python-version: [ '3.9', '3.10' ]

steps:

Expand Down
3 changes: 2 additions & 1 deletion src/oaklib/utilities/mapping/cross_ontology_diffs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging
from collections import Iterator, defaultdict
from collections import defaultdict
from collections.abc import Iterator
from copy import deepcopy
from typing import Dict, List, Optional, Tuple

Expand Down

0 comments on commit 2ab87d2

Please sign in to comment.