Skip to content

Commit

Permalink
Fixes as per code review + bump copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Sep 26, 2023
1 parent 936e35d commit 152d31d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Tokenizer
run: |
python -m pip install --upgrade pip wheel setuptools pytest
python -m pip install -e .
python -m pip install --upgrade pip wheel setuptools
python -m pip install -e ".[dev]"
- name: Type check with mypy (only on Python 3.8)
run: |
if [ "${{ matrix.python-version }}" == "3.8" ]; then python -m pip install mypy; fi
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (C) 2022 Miðeind ehf.
Copyright (C) 2023 Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
9 changes: 6 additions & 3 deletions src/tokenizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"""

import importlib.metadata

from .definitions import (
TP_LEFT,
TP_CENTER,
Expand Down Expand Up @@ -60,9 +62,10 @@
)
from .abbrev import Abbreviations, ConfigError

__author__ = "Miðeind ehf"
__copyright__ = "(C) 2022 Miðeind ehf."
__version__ = "3.4.3" # Remember to also update in pyproject.toml
__author__ = "Miðeind ehf."
__copyright__ = "(C) 2023 Miðeind ehf."
__version__ = importlib.metadata.version("tokenizer")


__all__ = (
"__author__",
Expand Down

0 comments on commit 152d31d

Please sign in to comment.