-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (94 loc) · 5.2 KB
/
pyproject.toml
File metadata and controls
116 lines (94 loc) · 5.2 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
# ─────────────────────────────────────────────────────────────────────────────
# Project metadata
# ─────────────────────────────────────────────────────────────────────────────
[project]
name = "IMDBx"
version = "1.1.5"
description = "IMDBx - Titles, ratings, air dates, descriptions and cover art across every episode of any IMDb TV series."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
keywords = ["imdbx", "scraper", "episodes", "tv", "anime", "playwright", "beautifulsoup"]
authors = [
{ name = "IMDBx", email = "imdbx@imdbx.dev" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"niquests>=3.0",
"beautifulsoup4>=4.12",
"playwright>=1.40",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
]
[project.urls]
Homepage = "https://github.com/ENC4YP7ED/IMDBx"
Repository = "https://github.com/ENC4YP7ED/IMDBx"
"Bug Tracker" = "https://github.com/ENC4YP7ED/IMDBx/issues"
Changelog = "https://github.com/ENC4YP7ED/IMDBx/releases"
# ─────────────────────────────────────────────────────────────────────────────
# Entry points
# ─────────────────────────────────────────────────────────────────────────────
[project.scripts]
# After `pip install .` you can run: imdbx tt7441658
imdbx = "imdbx.cli:main"
# ─────────────────────────────────────────────────────────────────────────────
# Package discovery
# ─────────────────────────────────────────────────────────────────────────────
[tool.setuptools.packages.find]
where = ["."]
include = ["imdbx*"]
[tool.setuptools.package-data]
"imdbx" = ["py.typed"]
# ─────────────────────────────────────────────────────────────────────────────
# pytest
# ─────────────────────────────────────────────────────────────────────────────
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
# ─────────────────────────────────────────────────────────────────────────────
# Coverage
# ─────────────────────────────────────────────────────────────────────────────
[tool.coverage.run]
source = ["imdbx"]
omit = ["imdbx/cli.py", "tests/*"]
[tool.coverage.report]
show_missing = true
skip_covered = false
# ─────────────────────────────────────────────────────────────────────────────
# Ruff (linter + formatter)
# ─────────────────────────────────────────────────────────────────────────────
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"