-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
142 lines (124 loc) · 4.4 KB
/
pyproject.toml
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[project]
name = "sylva"
dynamic = ["version"]
description = "Identity discovery simplified"
authors = [
{name = "Paul Pfeister", email = "code@pfeister.dev"},
]
dependencies = [
"sherlock-project>=0.15.0",
"platformdirs>=4.2.2",
"requests>=2.28.0",
"pandas>=2.2.2",
"colorama>=0.4.6",
"phonenumbers>=8.13.40",
"tldextract>=3.5.0", # TODO: Request fc39-41 update to 5.1.2
"BeautifulSoup4>=4.12.3",
"aiohttp>=3.9.5",
"bottle>=0.12.25", # FlareSolverr depends on this
"certifi>=2023.5.7", # FlareSolverr depends on this
"charset-normalizer>=3.3.2", # FlareSolverr depends on this
"click>=8.1.7", # FlareSolverr depends on this
"cssselect>=1.1.0", # FlareSolverr depends on this
"et-xmlfile>=1.1.0", # FlareSolverr depends on this
"filelock>=3.15.4", # FlareSolverr depends on this
"func-timeout>=4.3.5", # FlareSolverr depends on this
"idna>=3.7", # FlareSolverr depends on this
"lxml>=4.9.3", # FlareSolverr depends on this
"openpyxl>=3.1.2", # FlareSolverr depends on this
"pefile==2023.2.7; platform_system == \"Windows\"", # FlareSolverr depends on this
"prometheus-client>=0.17.1", # FlareSolverr depends on this
"psutil>=5.9.5", # FlareSolverr depends on this
"requests-file>=1.5.1", # FlareSolverr depends on this
"urllib3>=1.26.19", # FlareSolverr depends on this
"waitress>=2.1.2", # FlareSolverr depends on this
"websocket-client>=1.3.3", # FlareSolverr depends on this
"websockets>=11.0.3", # FlareSolverr depends on this
"xvfbwrapper>=0.2.9; platform_system != \"Windows\"", # FlareSolverr depends on this
"cryptography>=3.3.2", # PGPy depends on this
"pyasn1>=0.5.1", # PGPy depends on this
"spacy>=3.7.5",
]
requires-python = ">=3.10"
readme = ".github/README.md"
license = {text = "AGPL-3.0-or-later"}
[project.urls]
homepage = "https://sylva.pfeister.dev"
repository = "https://github.com/ppfeister/sylva"
bug-tracker = "https://github.com/ppfeister/sylva/issues"
[project.scripts]
sylva = "sylva.console:interactive"
[project.optional-dependencies]
mkdocs = [
"mkdocs-material>=9.5.30",
"mkdocs-minify-plugin>=0.8.0",
"mkdocs-git-revision-date-plugin>=0.3.2",
"mkdocstrings[python]>=0.25.2",
]
lint = [
"ruff>=0.6.1",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "scm"
write_to = "sylva/data/__scm_version__.py"
write_template = "__version__ = '{}'"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.4.3",
"tox>=4.16.0",
"tox-pdm>=0.7.2",
"mypy>=1.11.2",
"pandas-stubs>=2.2.2.240807",
"types-requests>2.26.1",
"types-colorama>=0.4.15.20240311",
"types-beautifulsoup4>=4.12.0.20240511",
]
############### ruff ###############
[tool.ruff]
line-length = 120
exclude = [
"**/src/pgpy/",
"**/src/flaresolverr/",
"**/tests/",
"**/src/sylva/integrations/intelxapi.py",
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [ "E", "F", "W", "Q", "I" ]
ignore = [ "Q000" ]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
############## pytest ##############
[tool.pytest.ini_options]
norecursedirs = [
"src/pgpy",
"src/flaresolverr",
]
addopts = "--strict-markers"
############# coverage #############
[tool.coverage.run]
omit = [
"**/intelxapi.py",
]
############### mypy ###############
[tool.mypy]
exclude = [
"src/pgpy/",
"src/flaresolverr/",
"src/sylva/helpers/pgpy/",
"src/sylva/helpers/flaresolverr/",
"src/sylva/integrations/intelxapi.py",
]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
check_untyped_defs = true