-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (57 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
68 lines (57 loc) · 1.68 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
[build-system]
requires = ["setuptools>=67.0.0", "wheel>=0.40.0"]
build-backend = "setuptools.build_meta"
[tool.poetry]
name = "pyro-scrapper"
version = "0.1.0"
description = "Scrape images from Alert Wildfire and prepare them for downstream analysis"
authors = ["Pyronear <contact@pyronear.org>"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/pyronear/pyro-scrapper"
keywords = ["scrapy", "scraping", "wildfire", "dataset"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Scientific/Engineering"
]
packages = [{ include = "pyro_scrapper", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
scrapy = "^2.13.4"
[tool.poetry.group.quality.dependencies]
ruff = "==0.14.9"
black = "^24.3.0"
isort = "^5.13.2"
mypy = "^1.9.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
coverage = "^7.4.0"
[tool.ruff]
line-length = 120
target-version = "py311"
preview = true
extend-exclude = [".github", "alertwest_scraping/tests"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "D"]
ignore = ["E501", "COM812", "ISC001", "D203", "D213"]
[tool.black]
line-length = 120
target-version = ["py311"]
[tool.isort]
line_length = 120
skip_glob = ["**/__init__.py"]
[tool.pydocstyle]
select = "D300,D301,D417"
match = ".*\\.py"
[tool.mypy]
python_version = "3.11"
files = [".github/collect_env.py"]
exclude = ["^\\.venv"]
ignore_missing_imports = true