forked from equinor/completor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (68 loc) · 2 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
[tool.poetry]
name = "completor"
version = "1.0.0"
description = "Advanced mulit-segmented well completion tool."
authors = ["Equinor ASA <[email protected]>"]
repository = "https://github.com/equinor/completor"
documentation = "https://equinor.github.io/completor"
license = "LGPL-3.0-only"
readme = "README.md"
package-mode = true
classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/equinor/completor/issues"
[tool.poetry.dependencies]
python = ">=3.11, <3.12"
matplotlib = "^3.9.2"
numpy = "^1.26.4"
pandas = "^2.2.2"
scipy = "^1.14.1"
tqdm = "^4.66.5"
pytest-env = "^1.1.4"
docutils = {version="0.20.1", optional=true} # Pinned due to problems with OS spesific builds
rstcheck-core = {version="^1.2.1", optional=true}
ert = {version="^10.1.2", optional=true}
pyqt5-qt5 = {version="5.15.2", optional=true} # Pinned due to problems with OS spesific builds
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
flake8 = "^7.0.0"
pre-commit = ">3"
pytest = "^8.2.0"
pytest-xdist = "^3.6.1"
[tool.poetry.extras]
ert = ["rstcheck-core", "ert", "pyqt5-qt5", "docutils"]
[tool.poetry.scripts]
completor = "completor.main:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.plugins."ert"]
run_completor = "completor.hook_implementations.jobs"
[tool.black]
line-length = 120
target-version = ['py310']
include='\.pyi?$'
extend-exclude = '''\.git |
\.__pycache__|
\.hg|
\.mypy_cache|
\.tox|
\.venv|
_build|
buck-out|
build|
dist'''
[tool.isort]
profile = "black"
line_length = 120
[tool.flake8]
max_line_length="132"
ignore="E203, W503, E704"
[tool.pytest.ini_options]
markers = ["integration: mark a test as an integration test."]
env = ["TQDM_DISABLE=1"]