-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
74 lines (66 loc) · 1.95 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "wellmap"
authors = [
{name = "Kale Kundert", email = "[email protected]"},
]
readme = "README.rst"
dynamic = ["version", "description"]
requires-python = "~=3.7"
dependencies = [
'pandas',
'tomli >= 1.1.0 ; python_version < "3.11"',
'typing-extensions; python_version < "3.9"',
'inform >= 1.15',
'docopt', # gui
'matplotlib', # gui
'colorcet', # gui
]
classifiers = [
'Programming Language :: Python :: 3.7',
]
[project.optional-dependencies]
test = [
'pytest==7.4.2',
'pytest-cov==4.1.0',
'pytest-subtests==0.11.0',
'pytest-unordered==0.5.2',
'parametrize_from_file==0.18.0',
'hypothesis==6.79.4', # last version with support for python 3.7
'coveralls',
]
doc = [
'sphinx==5.3.0', # last version with support for python 3.7
'sphinx-rtd-theme==1.3.0',
'sphinxcontrib-programoutput==0.17',
'sphinx-issues==3.0.1',
'myst-parser==1.0.0', # last version with support for python 3.7
]
[project.scripts]
wellmap = "wellmap.plot:main"
[project.urls]
'Documentation' = 'https://wellmap.readthedocs.io/en/latest/'
'Version Control' = 'https://github.com/kalekundert/wellmap'
'Bug Tracker' = 'https://github.com/kalekundert/wellmap/issues'
'Continuous Integration' = 'https://travis-ci.org/kalekundert/wellmap'
'Test Coverage' = 'https://coveralls.io/github/kalekundert/wellmap'
[tool.pytest.ini_options]
filterwarnings = [
'ignore:A private pytest class or function was used.',
]
addopts = "--doctest-glob='*.rst'"
[tool.semantic_release]
build_command = 'python -m pip install flit && flit build'
version_variable = 'wellmap/__init__.py:__version__'
version_pattern = [
'wellmapr/DESCRIPTION:Version: {version}',
'wellmapr/DESCRIPTION:list\(package = "wellmap", version = "{version}"'
]
[tool.ruff]
target-version = "py37"
select = ["F"]
ignore = ["F405", "F403"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]