Skip to content

Commit

Permalink
Merge pull request #69 from sebhmg/GEOPY-1933
Browse files Browse the repository at this point in the history
GEOPY-1933: Update copyright 2025
  • Loading branch information
sebhmg authored Jan 9, 2025
2 parents 97f67db + 4f3d63e commit 9d5e0ed
Show file tree
Hide file tree
Showing 36 changed files with 293 additions and 214 deletions.
6 changes: 4 additions & 2 deletions .idea/copyright/MiraGeoscience.xml

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

14 changes: 14 additions & 0 deletions .idea/copyright/profiles_settings.xml

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

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: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ repos:
- id: poetry-check
args: [--lock]
- 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.0
hooks:
- id: ruff
args:
Expand All @@ -31,7 +31,7 @@ repos:
# - --unsafe-fixes
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [
Expand All @@ -43,15 +43,15 @@ repos:
]
exclude: ^(docs|las_geoh5-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: http://github.com/MiraGeoscience/pre-commit-hooks
rev: v1.0.1
rev: v1.0.2
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
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) 2024 Mira Geoscience
Copyright (c) 2023-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.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ Third Party Software notices and/or additional terms and conditions are located
Copyright
---------

Copyright (c) 2024 Mira Geoscience
Copyright (c) 2023-2025 Mira Geoscience
15 changes: 9 additions & 6 deletions las_geoh5-assets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 package.
#
# All rights reserved.
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2023-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
6 changes: 3 additions & 3 deletions las_geoh5-assets/uijson/import_las_files.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"collar_x_name": {
"main": true,
"label": "Easting",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar easting. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar easting. Does not include the .UNIT extension.",
"value": "X",
"group": "Collar mnemonics",
"optional": true,
Expand All @@ -58,15 +58,15 @@
"collar_y_name": {
"main": true,
"label": "Northing",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar northing. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar northing. Does not include the .UNIT extension.",
"value": "Y",
"group": "Collar mnemonics",
"optional": true,
"enabled": false
},
"collar_z_name": {
"main": true,
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar elevation. Does not include the .UNIT extension.",
"tooltip": "Name of the mnemonic (MNEM column) in ~Well header section of las file that provides the collar elevation. Does not include the .UNIT extension.",
"label": "Elevation",
"value": "ELEV",
"group": "Collar mnemonics",
Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las_geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2023-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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
16 changes: 9 additions & 7 deletions las_geoh5/export_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/export_files/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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
16 changes: 9 additions & 7 deletions las_geoh5/export_files/uijson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from copy import deepcopy

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/export_las.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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
16 changes: 9 additions & 7 deletions las_geoh5/import_directories/uijson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from copy import deepcopy

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/import_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
16 changes: 9 additions & 7 deletions las_geoh5/import_files/driver.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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
15 changes: 9 additions & 6 deletions las_geoh5/import_files/params.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 package.
#
# All rights reserved.
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from pydantic import BaseModel, ConfigDict, model_validator

Expand Down
16 changes: 9 additions & 7 deletions las_geoh5/import_files/uijson.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 is distributed under the terms and conditions of the MIT License '
# (see LICENSE file at the root of this source code package). '
# '
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

from copy import deepcopy

Expand Down
19 changes: 10 additions & 9 deletions las_geoh5/import_las.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright (c) 2024 Mira Geoscience Ltd.
#
# This file is part of las-geoh5 project.
#
# las-geoh5 is distributed under the terms and conditions of the MIT License
# (see LICENSE file at the root of this source code package).
#
# ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# Copyright (c) 2024-2025 Mira Geoscience Ltd. '
# '
# This file is part of las-geoh5 package. '
# '
# las-geoh5 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 Expand Up @@ -318,8 +320,7 @@ def create_or_append_drillhole(
name = str(name)
if not name and logger is not None:
logger.warning(
"No well name provided for LAS file. "
"Saving drillhole with name 'Unknown'."
"No well name provided for LAS file. Saving drillhole with name 'Unknown'."
)

collar = get_collar(lasfile, translator, logger)
Expand Down
Loading

0 comments on commit 9d5e0ed

Please sign in to comment.