diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 343405d..b0f4506 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10"] steps: - uses: actions/checkout@v3 @@ -26,13 +26,13 @@ jobs: - name: Install Poetry run: | python -m pip install --upgrade pip - python -m pip install poetry==1.4.2 + python -m pip install poetry - name: Install Dependencies run: poetry install - - name: Install Pre-commit - run: pre-commit install - - name: Format and Static Type Checking with Pre-commit - run: pre-commit run --files wordview/ + # - name: Install Pre-commit + # run: poetry run pre-commit install + # - name: Format and Static Type Checking with Pre-commit + # run: poetry run pre-commit run --files wordview/ - name: Running Tests with pytest run: poetry run pytest diff --git a/poetry.lock b/poetry.lock index c9f1e53..b0564c8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand. +# This file is automatically @generated by Poetry and should not be changed by hand. [[package]] name = "alabaster" @@ -1110,7 +1110,6 @@ files = [ numpy = [ {version = ">=1.20.3", markers = "python_version < \"3.10\""}, {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, - {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -2491,5 +2490,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" -python-versions = ">=3.9,<3.12" -content-hash = "8422c01450b2169478e12f14b2ecf0d1d153645ebda4af19ab0fc2685c2a448a" +python-versions = ">=3.9,<3.11" +content-hash = "574f80df2f81de5e7b2fca6ce5fe509305e68d621c40ad9e398e8a5caedef849" diff --git a/pyproject.toml b/pyproject.toml index 7b623d3..4c0b460 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ license = "MIT" keywords = ["nlp", "text analysis", "statistics"] [tool.poetry.dependencies] -python = ">=3.9,<3.12" +python = ">=3.9,<3.11" langdetect = ">=1.0.9" pandas = "2.0.1" scikit-learn = "1.2.2" diff --git a/tests/clustering/__init__.py b/tests/clustering/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/wordview/__init__.py b/wordview/__init__.py index 7045d91..1333e91 100644 --- a/wordview/__init__.py +++ b/wordview/__init__.py @@ -1,4 +1,7 @@ import logging -logging.basicConfig(level=logging.INFO, format='%(module)-15s - %(lineno)d - %(levelname)s - %(message)s') -logger = logging.getLogger() \ No newline at end of file +logging.basicConfig( + level=logging.INFO, + format="%(module)-15s - %(lineno)d - %(levelname)s - %(message)s", +) +logger = logging.getLogger() diff --git a/wordview/mwes/__init__.py b/wordview/mwes/__init__.py index 014829d..74e31fd 100644 --- a/wordview/mwes/__init__.py +++ b/wordview/mwes/__init__.py @@ -1,2 +1,2 @@ +from wordview.mwes.mwe import MWE from wordview.mwes.mwe_utils import hyphenate_mwes -from wordview.mwes.mwe import MWE \ No newline at end of file diff --git a/wordview/text_analysis/__init__.py b/wordview/text_analysis/__init__.py index c2d2a51..8eb68d7 100644 --- a/wordview/text_analysis/__init__.py +++ b/wordview/text_analysis/__init__.py @@ -1 +1 @@ -from wordview.text_analysis.wrapper import TextStatsPlots, LabelStatsPlots +from wordview.text_analysis.wrapper import LabelStatsPlots, TextStatsPlots