Skip to content

Commit

Permalink
Merge pull request #59 from meghdadFar/meghdadFar/fix-ci
Browse files Browse the repository at this point in the history
Test CI
  • Loading branch information
meghdadFar committed May 28, 2023
2 parents 5b96682 + e6e7e5d commit 63f15bc
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
7 changes: 3 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Empty file removed tests/clustering/__init__.py
Empty file.
7 changes: 5 additions & 2 deletions wordview/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import logging

logging.basicConfig(level=logging.INFO, format='%(module)-15s - %(lineno)d - %(levelname)s - %(message)s')
logger = logging.getLogger()
logging.basicConfig(
level=logging.INFO,
format="%(module)-15s - %(lineno)d - %(levelname)s - %(message)s",
)
logger = logging.getLogger()
2 changes: 1 addition & 1 deletion wordview/mwes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from wordview.mwes.mwe import MWE
from wordview.mwes.mwe_utils import hyphenate_mwes
from wordview.mwes.mwe import MWE
2 changes: 1 addition & 1 deletion wordview/text_analysis/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from wordview.text_analysis.wrapper import TextStatsPlots, LabelStatsPlots
from wordview.text_analysis.wrapper import LabelStatsPlots, TextStatsPlots

0 comments on commit 63f15bc

Please sign in to comment.