Skip to content

Commit

Permalink
chore: update dependencies and typing
Browse files Browse the repository at this point in the history
did not think it was worth making a separate PR for this
  • Loading branch information
dhdaines committed Oct 1, 2023
1 parent 15d5b64 commit 865f16c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions g2p/mappings/langs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"""

import gzip
import io
import json
from pathlib import Path
from typing import Any

import networkx
from networkx.algorithms.dag import ancestors, descendants
Expand Down Expand Up @@ -176,7 +176,7 @@ def cache_langs(
return langs


def write_json_gz(path: str, data: str):
def write_json_gz(path: str, data: Any):
with gzip.GzipFile(path, "wb", mtime=0) as zipfile:
zipfile.write(
json.dumps(
Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ black~=22.0
flake8>=4.0.1
gitlint-core==0.17.0
isort>=5.10.1
mypy>=0.941,<=0.971
mypy>=1.4.1
mypy>=1.5.1; python_version >= "3.8"
pre-commit>=2.6.0
types-PyYAML

0 comments on commit 865f16c

Please sign in to comment.