migrate session handling to aioweb_tls/refactoring of helpers
This commit is contained in:
1 parent
3a8a12ac6e
commit
1441e7179c
10 files changed
+244
-295
No files matched your search
+23
-3
@@ -8,7 +8,8 @@ version = "0.1.0"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"aiohttp>=3.14.1",
|
||||
"aioproxies",
|
||||
"aioproxies @ git+https://git.rethinkstudios.io/rethink-public/aioproxies.git",
|
||||
"aioweb-tls[curl] @ git+https://git.rethinkstudios.io/rethink-public/aioweb_tls.git",
|
||||
"curl-cffi>=0.15.0",
|
||||
"fake-useragent>=2.2.0",
|
||||
"motor>=3.7.1",
|
||||
@@ -17,11 +18,30 @@ dependencies = [
|
||||
"requests>=2.34.2",
|
||||
"tenacity>=9.1.4",
|
||||
"log-setup @ git+https://git.rethinkstudios.io/rethink-public/log_setup.git",
|
||||
"httpx>=0.28.1",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
include = ["monitor_utils*"]
|
||||
|
||||
[tool.uv.sources]
|
||||
aioproxies = { git = "https://git.rethinkstudios.io/rethink-public/aioproxies.git" }
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"ruff>=0.6",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py310"
|
||||
# dsql_shortlinks.py is vendored third-party code; leave it untouched.
|
||||
extend-exclude = ["src/monitor_utils/dsql_shortlinks.py"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "W", "UP", "B"]
|
||||
# B905: zip(strict=) is opinionated; the zips here are equal-length by
|
||||
# construction and adding strict= would change working code for no gain.
|
||||
ignore = ["B905"]
|
||||
Reference in new issue
Block a user