-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (59 loc) · 1.43 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
[tool.poetry]
name = "github-crawler"
version = "0.2.0"
description = "Crawler for github.com"
authors = ["Stas Polos <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
furl = "^2.1.3"
requests = "^2.32.3"
lxml = "^5.2.2"
typer = "^0.12.3"
python-dotenv = "^1.0.1"
pydantic = "^2.8.2"
pydantic-settings = "^2.3.4"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.1"
ruff = "^0.5.1"
black = "^24.4.2"
pytest = "^8.2.2"
types-requests = "^2.32.0.20240622"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = "src"
minversion = "7.0"
addopts = "-ra -q"
tmp_path_retention_policy = "none"
filterwarnings = [
"ignore::DeprecationWarning:twisted.web.http",
"ignore::DeprecationWarning:pkg_resources",
]
[[tool.mypy.overrides]]
module = [
"furl.*",
"lxml.*",
]
ignore_missing_imports = true
[tool.mypy]
mypy_path = "src"
[tool.ruff]
line-length = 120
src = ["src"]
[tool.ruff.lint]
select = ["F", "I", "D", "PL", "E", "W", "UP", "T20", "C4", "C90", "PTH", "RET", "SIM"]
ignore = ["D104", "D107", "D205", "PLR2004", "SIM105"]
[tool.ruff.lint.pylint]
max-args = 12
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
skip-magic-trailing-comma = false