-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (35 loc) · 802 Bytes
/
Copy pathpyproject.toml
File metadata and controls
41 lines (35 loc) · 802 Bytes
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
[project]
name = "x-shield"
version = "0.1.0"
description = "Auto-private Twitter/X account on viral detection"
requires-python = ">=3.11"
dependencies = [
"twikit>=2.3.3",
"httpx>=0.28.1",
"python-dotenv>=1.2.2",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-asyncio>=1.3.0",
"pyright>=1.1.408",
"ruff>=0.15.4",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "basic"
include = ["src"]
exclude = ["tests", ".venv"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "PLC0415"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["src"]