From bc09b924164a804a42c86f936f66f8ebd4186a24 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Tue, 22 Aug 2023 14:07:23 +0200 Subject: [PATCH] docs: lock requirementns --- pyproject.toml | 56 +++++++++++++++----------------------------------- 1 file changed, 17 insertions(+), 39 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d84a0c4..827d475 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "kennethcenevoldsen@gmail.com"}] +authors = [ + { name = "Kenneth Enevoldsen", email = "kennethcenevoldsen@gmail.com" }, +] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -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" @@ -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", @@ -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"]