Skip to content

Commit

Permalink
Fix 3.9-ism that crept in and test 3.9 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikix committed Jul 18, 2024
1 parent db5928e commit 73aa178
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# don't go crazy with the Python versions as they eat up CI minutes
python-version: ["3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion chart_review/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Chart Review public entry point"""

__version__ = "2.0.0"
__version__ = "2.0.1"
2 changes: 1 addition & 1 deletion chart_review/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def read_json(path: str) -> Union[dict, list[dict]]:
return json.load(f, strict=False)


def write_json(path: str, data: dict | list, indent: Optional[int] = 4) -> None:
def write_json(path: str, data: Union[dict, list], indent: Optional[int] = 4) -> None:
"""
Writes data to the given path, in json format
:param path: filesystem path
Expand Down

0 comments on commit 73aa178

Please sign in to comment.