Skip to content

Commit

Permalink
Merge pull request #2 from tachi-hi/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
tachi-hi committed Mar 14, 2023
2 parents 470d6db + 51d6328 commit 6879478
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python_version: ['3.7', '3.11']
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ jamorasep
:target: https://pypi.python.org/pypi/jamorasep
:alt: pypi

.. image:: https://readthedocs.org/projects/jamorasep/badge/?version=latest
:target: https://jamorasep.readthedocs.io/en/latest
:alt: Documentation Status

.. image:: https://github.com/tachi-hi/jamorasep/actions/workflows/test.yml/badge.svg
:target: https://github.com/tachi-hi/jamorasep/actions/workflows/test.yml
:alt: CI
Expand Down
2 changes: 1 addition & 1 deletion jamorasep/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def load_kanamap(self, kanamap_csv : str = None):
path = os.path.dirname(os.path.abspath(__file__))
kanamap_csv = f"{path}/resource/kanamap.csv"
kanamap = {}
with open(kanamap_csv, "r") as f:
with open(kanamap_csv, "r", encoding="utf-8") as f:
csv_ = csv.DictReader(f)
for row in csv_:
kanamap[row["katakana"]] = row
Expand Down

0 comments on commit 6879478

Please sign in to comment.