-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (66 loc) · 2.21 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "phishing-url-detector"
version = "1.0.0"
description = "A Python application to detect phishing URLs"
readme = "README.md"
requires-python = ">=3.6"
license = {text = "MIT"}
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
keywords = ["phishing", "url", "security", "detector", "malware", "cybersecurity"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
dev = [
"flake8>=5.0.0",
"black>=22.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"mypy>=0.991",
]
[project.scripts]
phishing-detector = "phishing_detector:main"
phishing-detector-gui = "phishing_detector_gui:main"
[project.urls]
Homepage = "https://github.com/yourusername/python-phishing-url-detector"
"Bug Reports" = "https://github.com/yourusername/python-phishing-url-detector/issues"
Source = "https://github.com/yourusername/python-phishing-url-detector"
Documentation = "https://github.com/yourusername/python-phishing-url-detector#readme"
[tool.flake8]
max-line-length = 79
max-complexity = 10
ignore = ["E203", "W503"]
exclude = [".git", "__pycache__", ".venv", "venv", "env", ".env", "build", "dist", "*.egg-info"]
[tool.black]
line-length = 79
target-version = ['py36']
[tool.pytest.ini_options]
testpaths = ["test_phishing_detector.py"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.6"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true