Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ venv.bak/
/.idea/*
!/.idea/scopes/
!/.idea/copyright/
!/.idea/*.iml

# mypy
.mypy_cache/
Expand Down
4 changes: 2 additions & 2 deletions .idea/copyright/MiraGeoscience.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions .idea/python-conda-template.iml

This file was deleted.

4 changes: 2 additions & 2 deletions .idea/scopes/sources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/surface-apps.iml

This file was deleted.

12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ ci:

repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.4.0
rev: v2.5.0
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.9.1
hooks:
- id: ruff
args:
Expand All @@ -28,7 +28,7 @@ repos:
- id: ruff-format
exclude: ^docs/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [
Expand All @@ -39,15 +39,15 @@ repos:
]
exclude: ^(docs|surface_apps-assets)/
- repo: https://github.com/codingjoe/relint
rev: 3.2.0
rev: 3.3.1
hooks:
- id: relint
args: [-W] # to fail on warnings
- repo: https://github.com/MiraGeoscience/pre-commit-hooks
rev: v1.0.1
rev: v1.1.0
hooks:
- id: check-copyright
files: (^LICENSE|^README(|-dev).rst|\.py|\.pyi)$
files: (^package\.rst|^LICENSE|^README(|-dev)\.rst|\.py|\.pyi)$
exclude: (^\.|^docs/)
- id: prepare-commit-msg
- id: check-commit-msg
Expand Down
1 change: 1 addition & 0 deletions .rstcheck.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[rstcheck]
ignore_directives=automodule,include
report_level=WARNING
ignore_substitutions = copyright_notice
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023-2024 Mira Geoscience
Copyright (c) 2024-2025 Mira Geoscience

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README-dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,4 @@ License

Copyright
^^^^^^^^^
Copyright (c) 2024 Mira Geoscience Ltd.
Copyright (c) 2024-2025 Mira Geoscience Ltd.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ Third Party Software notices and/or additional terms and conditions are located

Copyright
^^^^^^^^^
Copyright (c) 2024 Mira Geoscience Ltd.
Copyright (c) 2024-2025 Mira Geoscience Ltd.
5 changes: 3 additions & 2 deletions surface_apps-assets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
7 changes: 4 additions & 3 deletions surface_apps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2022-2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
7 changes: 4 additions & 3 deletions surface_apps/driver.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2022-2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
5 changes: 3 additions & 2 deletions surface_apps/iso_surfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
5 changes: 3 additions & 2 deletions surface_apps/iso_surfaces/driver.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
5 changes: 3 additions & 2 deletions surface_apps/iso_surfaces/params.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
5 changes: 3 additions & 2 deletions surface_apps/iso_surfaces/utils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
from __future__ import annotations

Expand Down
7 changes: 4 additions & 3 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2022-2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
5 changes: 3 additions & 2 deletions tests/assets_path_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from surface_apps import assets_path
Expand Down
5 changes: 3 additions & 2 deletions tests/run_tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
5 changes: 3 additions & 2 deletions tests/run_tests/iso_surfaces_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
5 changes: 3 additions & 2 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

import numpy as np
Expand Down
7 changes: 4 additions & 3 deletions tests/version_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2022-2024 Mira Geoscience Ltd. '
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of surface-apps package. '
# This file is part of surface-apps package. '
# '
# All rights reserved. '
# surface-apps is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package). '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from __future__ import annotations
Expand Down
Loading