Skip to content

Commit

Permalink
Added support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
aosingh committed Mar 17, 2024
1 parent 17d0c4a commit 054cafd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lexpy_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion lexpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.0"
__version__ = "1.1.0"
from lexpy.trie import Trie
from lexpy.dawg import DAWG

Expand Down
3 changes: 2 additions & 1 deletion lexpy/_base/automata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def __init__(self, root):
def __contains__(self, word):
"""
Description:
To enable the use of 'in' keyword on dawg. Returns true if the word is present in dawg else false
To enable the use of 'in' keyword on dawg.
Returns true if the word is present in dawg else false
Args:
:arg word (str) The word to be searched
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = lexpy
version = 1.0.0
version = 1.1.0
description = Python package for lexicon
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
include_package_data=True,
classifiers=classifiers,
keywords=keywords.split(),
)
)

0 comments on commit 054cafd

Please sign in to comment.