-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
64 lines (54 loc) · 1.76 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
[tool.poetry]
name = "new-dale-chall-readability"
version = "1.0.13"
description = "Implements the New Dale-Chall readability formula. Its output is tested against samples from the original publication."
authors = ["Robb Shecter <robb@public.law>"]
license = "MIT"
homepage = "https://github.com/public-law/readability"
repository = "https://github.com/public-law/readability"
keywords = ["nlp", "readability", "dale-chall"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed",
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
beautifulsoup4 = "*"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-watch = "*"
black = "*"
pyright = "*"
ipython = "*"
devtools = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
ignore = ["**/typings"]
# As strict as possible: strict mode plus the optional strict checks.
strict = ["*"]
reportUninitializedInstanceVariable = "error"
reportUnusedCallResult = "error"
reportUnnecessaryTypeIgnoreComment = "error"
reportPropertyTypeMismatch = "error"
reportMissingSuperCall = "error"
reportImplicitStringConcatenation = "error"
reportCallInDefaultInitializer = "error"
reportUnusedImport = "warning"
[tool.pytest.ini_options]
minversion = "7.1"
pythonpath = "."
python_files = ["*_test.py"]
python_classes = ["Test", "Describe"]
python_functions = ["test_", "it_", "and_", "but_", "they_"]
addopts = "-q --no-header --doctest-modules"
doctest_optionflags = "NUMBER"