-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (78 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
84 lines (78 loc) · 1.47 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
[project]
name = "qfeval_data"
version = "0.1.0"
description = "Data structures for quantitative finance"
readme = "README.md"
# Don't forget to fix the badge in README.md after changing requires-python
requires-python = ">=3.9"
dependencies = [
"pandas",
"numpy",
"torch",
"qfeval-functions",
]
[project.optional-dependencies]
plot = [
"matplotlib"
]
[dependency-groups]
dev = [
"black==24.3.0",
"flake8==7.0.0",
"isort==5.13.2",
"mypy==1.9.0",
"pyproject-flake8==7.0.0",
"pytest>=8.3.5",
"pytest-cov>=5.0.0",
"qfeval-data[plot]",
"scipy",
]
[tool.black]
line-length = 80
target-version = ['py311']
exclude = '/(__pycache__|__init__\.py|\.git|\.cache|\.mypy_cache|docs|build|dist|\.venv)/'
[tool.isort]
profile = 'black'
ensure_newline_before_comments = true
force_grid_wrap = 0
force_single_line = true
include_trailing_comma = true
known_first_party = ["qfeval_data"]
skip = [
".cache",
".git",
"__pycache__",
"docs",
"build",
"dist",
".venv"
]
line_length = 80
multi_line_output = 3
use_parentheses = true
[tool.flake8]
ignore = "E203,E231,E501,W503"
max-line-length = 80
exclude = [
".cache",
".git",
"__pycache__",
"docs",
"build",
"dist",
".venv",
"__init__.py",
]
select = "B,B950,C,E,F,W"
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
exclude = [
".cache",
".git",
"__pycache__",
"docs",
"build",
"dist",
".venv"
]