-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
62 lines (55 loc) · 1.52 KB
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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "reddit2text"
version = "0.0.9"
description = "Convert Reddit posts to text"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "Nicholas Hansen-Feruch", email = "nicholas.feruch@gmail.com" },
]
keywords = [
"python", "reddit", "text conversion", "reddit api", "praw",
"reddit to text", "reddit comments", "social media analysis",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
requires-python = ">=3.11"
dependencies = [
"praw>=7.0.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"ruff>=0.4.0",
"flake8>=7.0.0",
"mypy>=1.0.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["reddit2text*"]
[tool.pytest.ini_options]
markers = [
"integration: tests that call the real Reddit API (run with: pytest -m integration)",
]
addopts = "-m 'not integration'"
[tool.ruff]
target-version = "py311"
line-length = 79
exclude = [".git", "__pycache__", ".mypy_cache", "build", "dist", "*.egg-info", "venv", ".venv"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true