Skip to content

Commit

Permalink
docs: lock requirementns
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Aug 22, 2023
1 parent 227bac7 commit bc09b92
Showing 1 changed file with 17 additions and 39 deletions.
56 changes: 17 additions & 39 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ build-backend = "setuptools.build_meta"
name = "asent"
version = "0.7.2"
description = "A python package for flexible and transparent sentiment analysis."
authors = [{name = "Kenneth Enevoldsen", email = "[email protected]"}]
authors = [
{ name = "Kenneth Enevoldsen", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -22,21 +24,19 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
keywords = ["nlp",
keywords = [
"nlp",
"sentiment analysis",
"spacy",
"spaCy",
"spaCy 3",
"text analysis",
"aspect-based sentiment analysis",
"ABSA"
]
"ABSA",
]
requires-python = ">=3.8"

dependencies = [
"spacy>=3.0.0",
"matplotlib>=3.5.0",
]
dependencies = ["spacy>=3.0.0", "matplotlib>=3.5.0"]

[project.readme]
file = "README.md"
Expand All @@ -54,34 +54,20 @@ documentation = "https://kennethenevoldsen.github.io/asent/"
[project.optional-dependencies]
da = ["dacy>=1.1.0"]
all = ["nltk>=3.6.7"]
style = [
"black>=22.12.0",
"pre-commit>=2.20.0",
"ruff>=0.0.263",
"mypy>=0.991"
]
tests = [
"pytest>=7.1.3",
"pytest-cov>=3.0.0",
]
style = ["black>=22.12.0", "pre-commit>=2.20.0", "ruff>=0.0.263", "mypy>=0.991"]
tests = ["pytest>=7.1.3", "pytest-cov>=3.0.0"]
docs = [
"sphinx>=5.3.0",
"furo>=2022.12.7",
"sphinx==5.3.0",
"furo==2022.12.7",
"sphinx-copybutton>=0.5.1",
"sphinxext-opengraph>=0.7.3",
"sphinx_design>=0.3.0",
"myst-nb>=0.6.0",
]
tutorials = [
"jupyter>=1.0.0",
"myst-nb>=0.6.0",
]
tutorials = ["jupyter>=1.0.0"]

[tool.coverage.run]
omit = [
"**/tests/*",
"**/_vendorized/*",
"**/about.py",
]
omit = ["**/tests/*", "**/_vendorized/*", "**/about.py"]

exclude_lines = [
"pragma: no cover",
Expand All @@ -104,22 +90,14 @@ exclude = "dev/"

[tool.semantic_release]
branch = "main"
version_variable = [
"pyproject.toml:version"
]
version_variable = ["pyproject.toml:version"]
build_command = "python -m pip install build; python -m build"

[tool.setuptools.package-data]
"*" = ["*.csv", "*.json", "*.txt"]

[tool.ruff]
exclude = [
".venv",
".env",
".git",
"__pycache__",
"dev/**"
]
exclude = [".venv", ".env", ".git", "__pycache__", "dev/**"]

[tool.setuptools.packages.find]
where = ["src"]
Expand Down

1 comment on commit bc09b92

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/asent
   __init__.py40100% 
   component.py30197%201
   constants.py60100% 
   data_classes.py92990%34, 41, 48, 85, 92, 99, 131, 138, 145
   getters.py2331594%25, 31, 36, 39, 150, 231, 292, 303, 311, 380, 382, 397, 476, 487, 567
   utils.py19195%42
   visualize.py74495%47, 56, 236–241
src/asent/lang
   __init__.py60100% 
   autoconstructed.py260100% 
   da.py280100% 
   emoji.py100100% 
   en.py190100% 
   no.py180100% 
   sv.py180100% 
TOTAL5833095% 

Please sign in to comment.