-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
88 lines (81 loc) · 1.78 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "pybary"
version = "0.2.1"
description = "Barycenter method in python"
authors = ["Bruno Peixoto <brunolnetto@gmail.com>"]
license = "MIT license"
readme = "README.md"
packages = [{include = "pybary"}]
homepage = "https://pypi.org/project/pybary/"
repository = "https://github.com/asmove/pybary"
keywords = ["optimization", "discrete"]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering"
]
[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
numpy = "1.24.1"
jupyter-core = "^5.1.2"
seaborn = "^0.12.2"
ipython = "^8.8.0"
ipykernel = "^6.20.1"
matplotlib = "^3.6.2"
[tool.poetry.group.dev.dependencies]
ipython = "^8.8.0"
tqdm = "^4.64.1"
mypy = "^0.991"
types-mock = "^4.0.15.2"
pygments = "^2.14.0"
docutils = "^0.19"
coverage = "^7.0"
tox = "^4.0.19"
ruff = "^0.0.209"
pre-commit = "^2.20.0"
black = "^22.12.0"
flake8 = "^6.0.0"
isort = "^5.11.4"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pytest-watch = "^4.2.0"
pylint = "^2.15.9"
[tool.ruff]
line-length = 100
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.flake8]
max-line-length = 100
extend-ignore = [
"D203", "E203", "E251", "E266",
"E302", "E305", "E401", "E402",
"E501", "F401", "F403", "W503"
]
exclude = [".git", "__pycache__", "dist"]
max-complexity = 10
[tool.isort]
atomic = true
profile = "black"
line_length = 100
skip_gitignore = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"