-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.33 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 = "xxx (anonymised)"
version = "0.1.0"
description = ""
authors = ["hirokioda <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
pandas = "^2.0.3"
numpy = "^1.25.2"
matplotlib = "^3.7.2"
seaborn = "^0.12.2"
scikit-learn = "^1.3.0"
isort = "^5.12.0"
black = {extras = ["jupyter"], version = "^23.7.0"}
pyproject-flake8 = "^6.0.0.post1"
pytest = "^7.4.0"
jupyterlab = "^4.0.5"
mypy = "^1.5.0"
mglearn = "^0.2.0"
graphviz = "^0.20.1"
networkx = "^3.2.1"
cvxopt = "^1.3.2"
ipykernel = "^6.28.0"
rpy2 = "^3.5.15"
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 120
multi_line_output = 3
profile = "black"
use_parentheses = true
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.flake8]
max-line-length = 120
ignore = "E203,"
[tool.pytest.ini_options]
testpaths = ["tests",]
[tool.mypy]
python_version = "3.10"
disallow_untyped_defs = true
check_untyped_defs = true
show_column_numbers = true
warn_unused_configs = true
warn_unused_ignores = true
namespace_packages = true
[tool.poetry.scripts]
lint = "flake8 path/to/your/code/"
mypy = "mypy path/to/your/code/"
format = "black path/to/your/code/ && isort path/to/your/code/"
test = "pytest"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"