Skip to content

Commit

Permalink
Import type hints for mapping in remaining places
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunedan committed Jun 25, 2024
1 parent 12041aa commit 8ddd30b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_lemmatizer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Tests for `simplemma` package."""

from collections.abc import Mapping
from typing import Mapping

import pytest

Expand Down
3 changes: 1 addition & 2 deletions training/dictionary_pickler.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
import lzma
import pickle
import re
from collections.abc import Mapping
from operator import itemgetter
from pathlib import Path
from typing import ByteString, Dict, List, Optional
from typing import Dict, List, Optional

import simplemma
from simplemma.strategies.defaultrules import DEFAULT_RULES
Expand Down

0 comments on commit 8ddd30b

Please sign in to comment.