-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (85 loc) · 2.41 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
89
90
91
92
93
94
95
96
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "infovar"
version = "0.2.0"
authors = [
"Lucas Einig"
]
keywords = ["statistics", "information theory"]
description = "Informative variables (InfoVar)"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
repository = "https://github.com/einigl/infovar"
packages=[{include="infovar"}]
[tool.poetry.dependencies]
python = ">=3.9"
numpy = ">= 1.20"
matplotlib = ">= 3.5"
scipy = ">= 1.10"
scikit-learn = ">= 1.1"
notebook = ">= 6.4"
tqdm = ">= 4.66.3"
jupyter = "^1.0.0"
[tool.poetry.dev-dependencies]
# poetry install installs project in editable mode + dev-dependencies
# poetry install --no-dev
flake8 = "^6.0.0"
black = ">=22.3.0"
isort = "^5.9.3"
pydocstyle = "^6.1.1"
pylint = "^2.11.1"
coverage-badge = ">=1.0.0"
pre-commit = ">=2.15.0"
scipy = "^1.11.3"
scikit-learn = "^1.3.2"
# configuration in docs/conf.py
Sphinx = ">=5.3.0"
# Sphinx extensions https://www.sphinx-doc.org/en/master/usage/extensions/index.html
# Manage bibliography .bib files
# https://github.com/mcmtroffaes/sphinxcontrib-bibtex
sphinxcontrib-bibtex = ">=2.5.0"
# Checks syntax of reStructuredText and code blocks nested within it https://github.com/myint/rstcheck
rstcheck = ">=6.1.1"
# Language server for .rst files
esbonio = ">=0.15.0"
sphinx_rtd_theme = ">=1.2.0"
myst_parser = ">=1.0"
sphinx_design = ">=0.1.0"
sphinx_gallery = ">=0.0.10"
nbsphinx = ">=0.9.0"
nbsphinx_link = ">=1.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.2"
pytest-order = "^1.2.1"
pytest-cov = "^2.11.1" # generate coverage report see --cov --cov-report flags
requests-mock = "^1.10.0"
[tool.pytest.ini_options]
# poetry run pytest
minversion = "6.0"
addopts = "-ra -q -vv --cov=nnbma --cov-report=term-missing --cov-report=xml"
testpaths = ["tests"]
markers = [
"run: mark test order"
]
# For other tools to be black compliant
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/einigl/infovar/issues"