forked from monosans/proxy-scraper-checker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
97 lines (89 loc) · 1.46 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
[tool.black]
line-length = 80
target-version = ["py37"]
skip-magic-trailing-comma = true
preview = true
[tool.mypy]
python_version = "3.8"
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
warn_unreachable = true
local_partial_types = true
enable_error_code = [
"redundant-self",
"redundant-expr",
"possibly-undefined",
"truthy-bool",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
]
strict = true
[[tool.mypy.overrides]]
module = "aiohttp_socks.*"
ignore_missing_imports = true
[tool.ruff]
ignore = [
"ANN",
"BLE001",
"C901",
"COM",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D205",
"D212",
"D213",
"D400",
"D401",
"D407",
"D415",
"D417",
"DJ008",
"ERA001",
"FBT002",
"PD901",
"PERF203",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"PT012",
"RUF001",
"RUF002",
"RUF003",
"RUF012",
"RUF013",
"S110",
"S112",
"S308",
"S311",
"SIM105",
"TCH001",
"TCH002",
"TCH003",
"TID252",
"TRY400",
]
ignore-init-module-imports = true
line-length = 80
select = ["ALL"]
target-version = "py37"
[tool.ruff.flake8-self]
ignore-names = []
[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true
[tool.ruff.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.pyupgrade]
keep-runtime-typing = true