Skip to content

Commit fb7761f

Browse files
authored
Merge pull request #648 from MiraGeoscience/release/0.11.0
merge release/0.11.0 to main
2 parents 7d65c34 + a0929fd commit fb7761f

File tree

314 files changed

+41689
-29588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+41689
-29588
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/create_env_file.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

.github/workflows/issue_to_jira.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Additional fields in JSON format
2929
fields: '{"components": [{"name": "geoapps"}]}'
3030
- name: Post JIRA link
31-
uses: peter-evans/create-or-update-comment@v2
31+
uses: peter-evans/create-or-update-comment@v3
3232
with:
3333
# The number of the issue or pull request in which to create a comment.
3434
issue-number: ${{ github.event.issue.number }}

.github/workflows/pytest-unix-os.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
python_ver: ['3.9', '3.10']
33-
os: [ubuntu-latest, macos-latest]
33+
os: [ubuntu-latest]
3434
runs-on: ${{ matrix.os }}
3535
defaults:
3636
run:
3737
shell: bash -l {0}
3838
env:
3939
PYTHONUTF8: 1
4040
CONDA_LOCK_ENV_FILE: environments/conda-py-${{ matrix.python_ver }}-${{ startsWith(matrix.os, 'macos') && 'osx' || 'linux' }}-64-dev.lock.yml
41+
PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/
4142
steps:
4243
- uses: actions/checkout@v3
4344
with:

.github/workflows/pytest-windows.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
env:
3838
PYTHONUTF8: 1
3939
CONDA_LOCK_ENV_FILE: environments/conda-py-${{ matrix.python_ver }}-win-64-dev.lock.yml
40+
PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/
4041
steps:
4142
- uses: actions/checkout@v3
4243
with:

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
env:
3434
PYTHONUTF8: 1
3535
CONDA_LOCK_ENV_FILE: environments/conda-py-3.9-win-64-dev.lock.yml
36+
PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/
3637
steps:
3738
- uses: actions/checkout@v3
3839
- name: Setup conda env

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ dmypy.json
140140
# customization
141141
get_custom_conda.bat
142142

143+
# not using poetry here, but conda lock
144+
poetry.lock
145+
143146
# cleanup after tests
144-
*.lock
147+
*.geoh5.lock
145148
/geoapps-assets/EM1DInversion_.json
146149
/geoapps-assets/Inversion_.json
147150
/geoapps-assets/SimPEG_PFInversion/

.pre-commit-config.yaml

Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
default_language_version:
33
python: python3
4-
exclude: (docs/(conf.py|_ext/)|(^geoapps/simpeg(PF|EM1D)/))
4+
exclude: (^docs/(conf.py|_ext/)|^geoapps/simpeg(PF|EM1D)/|^geoapps-assets/)
55
default_stages: [commit,push]
66
fail_fast: false
77

@@ -12,35 +12,41 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/psf/black
15-
rev: 23.3.0
16-
15+
rev: 23.10.0
1716
hooks:
1817
- id: black
1918
- repo: https://github.com/PyCQA/isort
2019
rev: 5.12.0
2120
hooks:
2221
- id: isort
23-
additional_dependencies: [toml] # to read config from pyproject.toml
22+
additional_dependencies: [tomli] # to read config from pyproject.toml
2423
- repo: https://github.com/humitos/mirrors-autoflake
2524
rev: v1.1
2625
hooks:
2726
- id: autoflake
28-
#- repo: https://gitlab.com/pycqa/flake8
29-
# rev: 3.8.4
27+
#- repo: https://github.com/PyCQA/flake8
28+
# rev: 6.1.0
3029
# hooks:
3130
# - id: flake8
3231
- repo: https://github.com/asottile/pyupgrade
33-
rev: v3.3.2
34-
32+
rev: v3.15.0
3533
hooks:
3634
- id: pyupgrade
3735
args: [--py39-plus]
3836
#- repo: https://github.com/pre-commit/mirrors-mypy
39-
# rev: v0.790
37+
# rev: v1.6.1
4038
# hooks:
4139
# - id: mypy
42-
# args: ["--ignore-missing-imports", "--scripts-are-modules", "--show-error-context",
43-
# "--show-column-numbers"]
40+
# additional_dependencies: [
41+
# types-toml,
42+
# types-PyYAML,
43+
# tomli # to read config from pyproject.toml
44+
# ]
45+
- repo: https://github.com/codingjoe/relint
46+
rev: 3.1.0
47+
hooks:
48+
- id: relint
49+
args: [-W] # to fail on warnings
4450
- repo: local
4551
hooks:
4652
- id: pylint
@@ -49,23 +55,32 @@ repos:
4955
language: system
5056
require_serial: true # pylint does its own parallelism
5157
types: [python]
52-
exclude: docs/
58+
exclude: ^(devtools|docs)/
5359
- id: check-copyright
5460
name: Check copyright
5561
entry: python devtools/check-copyright.py
5662
language: python
57-
files: (^LICENSE|README.rst|\.py|\.pyi)$
5863
types: [text]
59-
exclude: (^setup.py$|^\.|\b(docs|geoapps-assets)/)
64+
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
65+
exclude: (^\.|^docs/)
66+
- id: prepare-commit-msg
67+
stages: [prepare-commit-msg]
68+
name: Prepare commit message
69+
entry: python devtools/git_message_hook.py --prepare
70+
language: python
71+
- id: check-commit-msg
72+
stages: [commit-msg]
73+
name: Check commit message
74+
entry: python devtools/git_message_hook.py --check
75+
language: python
6076
- repo: https://github.com/codespell-project/codespell
61-
rev: v2.2.4
62-
77+
rev: v2.2.6
6378
hooks:
6479
- id: codespell
65-
exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb)$
80+
exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst)$
6681
entry: codespell -I .codespellignore
6782
- repo: https://github.com/pre-commit/pre-commit-hooks
68-
rev: v4.4.0
83+
rev: v4.5.0
6984
hooks:
7085
- id: trailing-whitespace
7186
exclude: \.mdj$
@@ -81,12 +96,13 @@ repos:
8196
- id: mixed-line-ending
8297
- id: name-tests-test
8398
- repo: https://github.com/rstcheck/rstcheck
84-
rev: v6.1.2
85-
99+
rev: v6.2.0
86100
hooks:
87101
- id: rstcheck
102+
exclude: ^THIRD_PARTY_SOFTWARE.rst$
88103
additional_dependencies: [sphinx]
89104
- repo: https://github.com/pre-commit/pygrep-hooks
90105
rev: v1.10.0
91106
hooks:
92107
- id: rst-backticks
108+
exclude: ^THIRD_PARTY_SOFTWARE.rst$

.relint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- name: No import os.path
2+
pattern: 'from os import\b.*\bpath\b'
3+
hint: Use from pathlib import Path
4+
filePattern: .*\.pyi?
5+
error: false
6+
- name: No os.path
7+
pattern: '\bos\.path\b'
8+
hint: Use pathlib.Path
9+
filePattern: .*\.pyi?
10+
error: false

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Mira Geoscience
3+
Copyright (c) 2024 Mira Geoscience
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
Welcome to **geoapps** - Open-source applications in geosciences
3030
================================================================
3131

32-
.. image:: https://github.com/MiraGeoscience/geoapps/raw/v0.10.0-rc.3/docs/images/index_page.png
32+
.. image:: https://github.com/MiraGeoscience/geoapps/raw/v0.10.0-rc.2/docs/images/index_page.png
3333
:align: right
3434
:width: 50%
3535

@@ -65,12 +65,21 @@ Current sponsors
6565
- `Teck <https://www.teck.com/>`_
6666
- `Vale <https://www.vale.com/canada>`_
6767

68+
Third Party Software
69+
^^^^^^^^^^^^^^^^^^^^
70+
The geoapps Software may provide links to third party libraries or code (collectively “Third Party Software”)
71+
to implement various functions. Third Party Software does not comprise part of the Software.
72+
The use of Third Party Software is governed by the terms of such software license(s).
73+
Third Party Software notices and/or additional terms and conditions are located in the
74+
`THIRD_PARTY_SOFTWARE.rst`_ file.
75+
76+
.. _THIRD_PARTY_SOFTWARE.rst: THIRD_PARTY_SOFTWARE.rst
6877

6978
License
7079
^^^^^^^
7180
MIT License
7281

73-
Copyright (c) 2023 Mira Geoscience
82+
Copyright (c) 2024 Mira Geoscience
7483

7584
Permission is hereby granted, free of charge, to any person obtaining a copy
7685
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)