-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
113 lines (99 loc) · 2.1 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=42", "setuptools-scm[toml]>=6.2"]
[project]
authors = [
{name = "Matt Kramer", email = "matthew.robert.kramer@gmail.com"}
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering"
]
dependencies = [
"click<=8.2",
"click-log<=0.4.0",
"matplotlib<=3.9.0",
"numpy<=1.26.4",
"scipy<=1.13.1"
]
description = "Fluid-Structure Interaction for large deformation planing surfaces"
dynamic = ["version"]
license = {text = "MIT"}
name = "planingfsi"
readme = "README.md"
requires-python = ">=3.8,<3.12"
[project.optional-dependencies]
dev = [
"codecov",
"mypy",
"pytest",
"pytest-cov",
"tox"
]
[project.scripts]
planingfsi = "planingfsi.cli:cli"
[project.urls]
documentation = "https://planingfsi.readthedocs.io"
repository = "https://github.com/mattkram/planingfsi"
[tool.black]
exclude = '''
/(
\.git
| \.tox
| \.venv
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 100
target-version = ["py36"]
[tool.isort]
force_single_line = true
profile = "black"
[tool.mypy]
disallow_untyped_defs = true
files = [
"src/**/*.py",
"tests/**/*.py"
]
ignore_missing_imports = true
python_version = "3.10"
[tool.setuptools_scm]
version_file = "src/planingfsi/_version.py"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = clean,py38,py39,py310,py311,mypy
isolated_build = True
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps =
pytest
pytest-cov
commands = pytest \
--junitxml=./test-reports/junit.xml \
--cov-append \
--cov-report xml:./test-reports/coverage.xml \
--cov planingfsi \
--slow
[testenv:mypy]
deps =
mypy
commands = mypy .
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase
"""