forked from vzhou842/profanity-check
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from dimitrismistriotis/update-library-to-1dot…
…4dot2 Update library to 1dot4dot2
- Loading branch information
Showing
11 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## Version 1.4.2 | ||
|
||
* scikit-learn to 1.4.2 | ||
|
||
## Version 1.4.1 | ||
|
||
* scikit-learn to 1.4.1 (1.4.1.post1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
# | ||
-r requirements.txt | ||
|
||
pytest==7.4.3 | ||
pylint==3.0.2 | ||
black==23.11.0 | ||
pytest==8.1.1 | ||
pylint==3.1.0 | ||
black==24.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""For Command Line Interface""" | ||
|
||
import sys | ||
|
||
from .profanity_check import predict | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Train Model from data""" | ||
|
||
import hashlib | ||
import subprocess | ||
import sys | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Profanity check exposed methods""" | ||
|
||
import sys | ||
|
||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
joblib==1.3.2 | ||
joblib==1.4.0 | ||
numpy==1.24.4; python_version <= '3.8' | ||
numpy==1.26.4; python_version >= '3.9' | ||
# Used for the training script: | ||
pandas==2.0.3; python_version < '3.8' | ||
pandas==2.1.3; python_version >= '3.9' | ||
pandas==2.2.2; python_version >= '3.9' | ||
scikit-learn==1.3.2; python_version <= '3.8' | ||
scikit-learn==1.4.1.post1; python_version >= '3.9' | ||
scipy==1.12.0; python_version >= '3.10' | ||
scikit-learn==1.4.2; python_version >= '3.9' | ||
scipy==1.13.0; python_version >= '3.10' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
twine==4.0.2 | ||
twine==5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
"""Setup""" | ||
|
||
from pathlib import Path | ||
import setuptools | ||
|
||
long_description = Path("README.md").read_text(encoding="utf8") | ||
|
||
setuptools.setup( | ||
name="alt-profanity-check", | ||
version="1.4.1.post1", | ||
version="1.4.2", | ||
author="Victor Zhou (original author), Menelaos Kotoglou, Dimitrios Mistriotis", | ||
author_email="[email protected]", | ||
description=( | ||
|
@@ -17,7 +18,7 @@ | |
long_description_content_type="text/markdown", | ||
url="https://github.com/dimitrismistriotis/alt-profanity-check", | ||
packages=setuptools.find_packages(), | ||
install_requires=["scikit-learn==1.4.1.post1", "joblib>=1.3.2"], | ||
install_requires=["scikit-learn==1.4.2", "joblib>=1.4.0"], | ||
python_requires=">=3.8", | ||
package_data={"profanity_check": ["data/model.joblib", "data/vectorizer.joblib"]}, | ||
classifiers=[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""(Mostly smoke) tests""" | ||
|
||
from profanity_check import predict, predict_prob | ||
|
||
|
||
|