capture-page-tools / pyproject.toml
npv2k1's picture
Refactor Dockerfile and update screenshot capture: streamline Chrome and ChromeDriver installation, enhance memory settings, and improve cleanup process in the capture function.
0c01d1e
raw
history blame contribute delete
795 Bytes
[project]
name = "capture-page-tools"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi[standard]>=0.115.8",
"gradio>=5.3.0",
"ipykernel>=6.29.5",
"numpy>=2.2.3",
"pytest>=8.3.4",
"selenium>=4.29.0",
"psutil>=5.9.0",
]
[tool.black]
line-length = 88
target-version = ["py311"]
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py311"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = []
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.isort]
known-first-party = ["src"]
[tool.ruff.mccabe]
max-complexity = 10