generated from thiagorr162/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (53 loc) · 1.09 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
[tool.poetry]
name = "prog-stat"
version = "0.1.0"
description = "Jupyter Book para disciplina de programação estatística"
authors = ["Your Name <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
jupyter-book = "^1.0.2"
pandas = "^2.2.3"
matplotlib = "^3.9.2"
numpy = "^2.1.1"
ghp-import = "^2.1.0"
jupyterlab = "^4.2.5"
notebook = "^7.2.2"
scikit-learn = "^1.5.2"
seaborn = "^0.13.2"
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
profile = "black"
[tool.flake8]
max-line-length = 120
max-complexity = 20
exclude = ".git"
select = "B,C,E,F,W,T4,B9"
ignore = "E203, E266, E501, W503, F403, F401"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.6.0"
black = "^24.3.0"
isort = "^5.13.2"
[tool.poetry.scripts]
post-update = "sh -c 'poetry update && pre-commit install'"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"