forked from sloria/TextBlob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (89 loc) · 2.27 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "textblob"
version = "0.18.0.post0"
description = "Simple, Pythonic text processing. Sentiment analysis, part-of-speech tagging, noun phrase parsing, and more."
readme = "README.rst"
license = { file = "LICENSE" }
authors = [{ name = "Steven Loria", email = "sloria1@gmail.com" }]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Linguistic",
]
keywords = ["textblob", "nlp", 'linguistics', 'nltk', 'pattern']
requires-python = ">=3.8"
dependencies = ["nltk>=3.8"]
[project.urls]
Changelog = "https://textblob.readthedocs.io/en/latest/changelog.html"
Issues = "https://github.com/sloria/TextBlob/issues"
Source = "https://github.com/sloria/TextBlob"
[project.optional-dependencies]
docs = ["sphinx==7.2.6", "sphinx-issues==4.0.0", "PyYAML==6.0.1"]
tests = ["pytest", "numpy"]
dev = ["textblob[tests]", "tox", "pre-commit~=3.5"]
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
include = ["tests/", "CHANGELOG.rst", "CONTRIBUTING.rst", "tox.ini"]
[tool.ruff]
src = ["src"]
fix = true
show-fixes = true
unsafe-fixes = true
exclude = [
# Default excludes from ruff
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
# Vendorized code
"src/textblob/en",
"src/textblob/_text.py",
]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E721"]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"numpy: marks tests that require numpy",
]