-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (108 loc) · 3.23 KB
/
pyproject.toml
File metadata and controls
118 lines (108 loc) · 3.23 KB
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
114
115
116
117
118
[build-system]
build-backend = 'setuptools.build_meta'
requires = [ "setuptools" ]
[project]
name = "loopresources"
version = "0.0.1"
description = "Open source 3D geological resource modelling"
readme = "README.md"
keywords = [
"3-D modelling",
"earth sciences",
"geology",
"structural geology",
"uncertainty",
]
license = { text = 'MIT' }
authors = [ { name = 'Lachlan Grose', email = 'lachlan.grose@monash.edu' } ]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Other Audience",
"Intended Audience :: Science/Research",
"License :: Free for non-commercial use",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"numpy>=1.18",
"pandas",
"scipy",
"tqdm",
"LoopStructural>=1.6.21",
]
optional-dependencies.all = [ "vtk","docs" ]
optional-dependencies.dev = [
"black",
"codespell",
"isort",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"sphinx-rtd-theme",
]
optional-dependencies.docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-gallery",
"myst-parser",
"pydata-sphinx-theme",
"pyvista[all]","loopstructuralvisualisation"
]
optional-dependencies.vtk = [ "pyvista" ]
[tool.setuptools.packages.find]
include = [ 'loopresources', 'loopresources.*' ]
[tool.black]
line-length = 100
skip-string-normalization = true
target-version = [ 'py38' ]
exclude = '\.eggs|\.git|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist|node_modules'
[tool.ruff]
target-version = "py38"
line-length = 100
indent-width = 4
exclude = [ ".git", "build", "dist", "docs/_build", "pycache__" ]
lint.ignore = [
"E203", # whitespace before ':'
"E266", # too many leading '#' for block comment
"E402", # module level import not at top of file
"E501", # line length too long
"E722", # bare except
"E731", # do not assign a lambda expression, use a def
"E741", # ambiguous variable name
"F403", # 'from module import *' used; unable to detect undefined names
]
lint.per-file-ignores."__init__.py" = [ "F401" ]
lint.fixable = [ "ALL" ]
lint.unfixable = [ ]
[tool.isort]
profile = 'black'
line_length = 100
# Sort by name, don't cluster "from" vs "import"
force_sort_within_sections = true
# Combines "as" imports on the same line
combine_as_imports = true
[tool.codespell]
skip = '*.pyc,*.txt,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,docs/_build/*,./docs/build/*,./dist/*,*~,.hypothesis*,*.mypy_cache/*,*cover,*/_autosummary/*'
quiet-level = 3
[tool.build_sphinx]
source-dir = 'docs'
build-dir = 'docs/build'
all_files = 1
[tool.pydocstyle]
select = [ "D100", "D101", "D102", "D103", "D104" ]