-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (96 loc) · 2.4 KB
/
pyproject.toml
File metadata and controls
102 lines (96 loc) · 2.4 KB
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
[project]
name = "fipibank-classification"
version = "0.1.0"
description = "Download and classify tasks from https://ege.fipi.ru/bank"
license = "GPL-3.0-or-later"
requires-python = ">=3.13"
dependencies = [
"aiohttp>=3.12.13",
"aiosqlite>=0.21.0",
"beautifulsoup4>=4.13.4",
"flask>=3.1.1",
"jinja2>=3.1.6",
"jupyter>=1.1.1",
"matplotlib>=3.10.3",
"nltk>=3.9.1",
"numpy>=2.3.1",
"pandas>=2.3.0",
"requests>=2.32.4",
"scikit-learn>=1.7.0",
"scipy>=1.16.0",
"selectolax>=0.3.31",
"sqlalchemy>=2.0.41",
"tqdm>=4.67.1",
"typer>=0.16.0",
]
[dependency-groups]
dev = [
"basedpyright>=1.17.1",
"ruff>=0.7.1",
]
[tool.uv]
package = false
[tool.ruff]
target-version = "py313"
line-length = 99
exclude = [
".git",
".venv",
".idea",
".tests",
".cache",
"build",
"dist",
"scripts",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"S", # flake8-bandit
"B", # flake8-bugbear
"G", # flake8-logging-format
"C4", # flake8-comprehensions
"UP", # pyupgrade
"PD", # pandas-vet
"PLC", # pylint conventions
"PLE", # pylint errors
"SIM", # flake8-simplify
"RET", # flake8-return
"YTT", # flake8-2020
"RUF", # ruff-specific rules
"TCH", # flake8-type-checking
"PTH", # flake8-use-pathlib
"ASYNC", # flake8-async
]
ignore = [
"E501", # Line too long
"PTH123", # `open()` should be replaced by `Path.open()`
"PD901", # Avoid using the generic variable name df for DataFrames
"RUF001", # String contains ambiguous `В` (CYRILLIC CAPITAL LETTER VE)
"RUF003", # Ambiguous unicode character comment
"RUF006", # Store a reference to the return value of `asyncio.create_task
"PD002", # `inplace=True` should be avoided; it has inconsistent behavior
"B007", # Loop control variable not used within loop body
"B024", # `PathControl` is an abstract base class, but it has no abstract methods or properties
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
]
[tool.basedpyright]
exclude = [
".git",
".venv",
".idea",
".tests",
".cache",
"build",
"dist",
"scripts",
]
typeCheckingMode = "standard"
pythonPlatform = "All"
pythonVersion = "3.13"
reportMissingImports = true
reportMissingTypeStubs = true