-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (41 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (41 loc) · 1.32 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "breach-web-scraper"
version = "0.1.0"
description = "A Python tool for scraping breach websites to provide a nice summary."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "noderaven" }]
keywords = ["breach", "scraper", "security", "washington", "data-breach"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Security",
]
[project.urls]
Homepage = "https://github.com/noderaven/breach-web-scraper"
Repository = "https://github.com/noderaven/breach-web-scraper"
[project.scripts]
breach-scraper = "breach_scraper.cli:main"
[project.optional-dependencies]
dev = ["ruff>=0.5", "mypy>=1.10", "bandit>=1.7"]
[tool.hatch.build.targets.wheel]
packages = ["breach_scraper"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4"]
[tool.ruff.lint.per-file-ignores]
# Test fixtures embed long inline HTML/CSV sample strings.
"tests/**" = ["E501"]
# output.py embeds an HTML/CSS/JS web-UI template with unavoidably long lines.
"breach_scraper/output.py" = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = true
files = ["breach_scraper"]