-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
65 lines (57 loc) · 1.49 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
[tool.poetry]
name = "numpy-nn-model"
version = "0.1.0"
description = ""
authors = ["AkiRusProd <akirusprod@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
numpy = "1.24.0"
matplotlib = "3.5.1"
pillow = "9.3.0"
tqdm = "^4.66.1"
cupy-cuda117 = "^10.6.0"
requests = "^2.32.3"
tokenizers = "^0.19.1"
datasets = "^2.20.0"
ipywidgets = "^8.1.3"
ipympl = "^0.9.4"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.7"
pre-commit = "^3.7.1"
mypy = "^1.10.0"
types-requests = "^2.32.0.20240602"
ipykernel = "^6.29.5"
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = ["venv", "tests"]
[tool.ruff.lint]
ignore = ["RUF002", "RUF003", "T201", "ERA001", "FBT002", "FBT001", "A001", "C901", "S403", "S301"]
fixable = ["I", "B", "RUF", "F"]
select = [
"I", # Isort rules
"C90", # Maccabe complexity
"ASYNC", # flake8-async
"S", # flake8-bandit
"BLE", # flake8-blind-except
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"T20", # flake8-print
# "RET", # flake8-return
"SLF", # flake8-self
"RUF", # ruff
"ERA", # eradicate
"PTH", # flake8-use-pathlib
"FBT", # flake8-boolean-trap
"F", # pyflakes
]
preview = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F403"]
[tool.mypy]
exclude = ["venv", "tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"