-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (51 loc) · 1.06 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
[project]
name = "prgenerator"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{name = "Roman Solomatin", email = "[email protected]"},
]
dependencies = [
"tqdm>=4.66.2",
"aiohttp>=3.9.4",
"requests>=2.31.0",
]
requires-python = "==3.10.*"
readme = "README.md"
license = {text = "MIT"}
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
lint = [
"mypy>=1.9.0",
"ruff>=0.3.4",
]
[tool.ruff]
fix = true
target-version = "py310"
line-length = 120
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select= [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
"RUF", # ruff
#"D", # pydocstyle
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F405", "F403", "D"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_redundant_casts = true
# plugins = ["numpy.typing.mypy_plugin"]
[[tool.mypy.overrides]]
module = [
"scipy",
"sklearn",
]
ignore_missing_imports = true