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
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import nox

nox.options.default_venv_backend = "uv"
Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import pandas as pd

from .config_model import TableConfig as TableConfig
Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/config_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

from pathlib import Path
from typing import Literal

Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/custom_string_replacements.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

typos_and_notes = {
r"CCGT\d+": "CCGT",
r"requirements_TAS\d+": "requirements_TAS",
Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/parser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import glob
import os
import warnings
Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/read_table.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import numpy as np
import openpyxl
import openpyxl.utils
Expand Down
7 changes: 7 additions & 0 deletions src/isp_workbook_parser/sanitisers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import re

import numpy as np
Expand Down
7 changes: 7 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import pandas as pd
import pytest

Expand Down
7 changes: 7 additions & 0 deletions tests/test_packaged_table_configs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

from pathlib import Path

import pytest
Expand Down
7 changes: 7 additions & 0 deletions tests/test_read_table_functionality.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

from isp_workbook_parser.config_model import TableConfig


Expand Down
7 changes: 7 additions & 0 deletions tests/test_sanitisers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

from pathlib import Path

import pandas as pd
Expand Down
7 changes: 7 additions & 0 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import re
from typing import get_args

Expand Down
7 changes: 7 additions & 0 deletions tests/test_workbook_sheets_exist_check.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (C) 2026 University of New South Wales
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

import pytest

from isp_workbook_parser import Parser
Expand Down
Loading