Skip to content

Commit e4e7ad9

Browse files
authored
Merge pull request #13 from ACCESS-NRI/davide/unit-test-perturbIC
Updates to unit-testing and other minor additions
2 parents 2d03816 + c05cf3c commit e4e7ad9

Some content is hidden

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

69 files changed

+387
-17000
lines changed

.coveragerc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[run]
2+
branch = True
3+
4+
# skip coverage testing for external source files
5+
omit = src/umfile_utils/_version.py
6+
7+
[html]
8+
title = Coverage report: umfile_utils
9+
directory = coverage_html

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
**/__pycache__/
2+
.hypothesis/
3+
.*_cache/
4+
.vscode/
5+
.DS_Store
6+
.idea
7+
.coverage
8+
*~
9+
*.egg-info
10+
coverage_html
11+
*.code-workspace

environment-dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- mule
1212
- numpy < 2
1313
- versioneer
14+
- hypothesis
1415
- ipykernel
1516
- pytest-cov
1617
- pip

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ versionfile_source = "src/umfile_utils/_version.py"
3737
versionfile_build = "umfile_utils/_version.py"
3838
tag_prefix = ""
3939
parentdir_prefix = "umfile-utils-"
40+
41+
[tool.pytest.ini_options]
42+
pythonpath = "src"
43+
addopts = "--cov=src --cov-report=term-missing"

src/umfile_utils/GLOBE30_patch_aus.py

-65
This file was deleted.

src/umfile_utils/README.md

-1
This file was deleted.

src/umfile_utils/access_landmask.py

-65
This file was deleted.

src/umfile_utils/add_fields_to_dump.py

-52
This file was deleted.

src/umfile_utils/ancil2netcdf.py

-172
This file was deleted.

0 commit comments

Comments
 (0)