modflowpy / pymake

Python package for compiling MODFLOW-based applications
https://mfpymake.readthedocs.io/
Other
54 stars 35 forks source link

feat(meson): add meson build option #105

Closed jdhughes-usgs closed 2 years ago

jdhughes-usgs commented 2 years ago

Replace .format() with f-strings using flynt. Use isort to clean-up package imports.

codecov[bot] commented 2 years ago

Codecov Report

Attention: Patch coverage is 53.69650% with 119 lines in your changes missing coverage. Please review.

Project coverage is 65.933%. Comparing base (63be7b1) to head (891e9c5). Report is 82 commits behind head on master.

Files Patch % Lines
pymake/autotest/autotest.py 17.721% 65 Missing :warning:
pymake/pymake_base.py 78.947% 12 Missing :warning:
pymake/utils/_compiler_switches.py 10.000% 9 Missing :warning:
pymake/pymake.py 60.000% 8 Missing :warning:
pymake/utils/download.py 75.000% 8 Missing :warning:
pymake/plot/dependency_graphs.py 28.571% 5 Missing :warning:
pymake/utils/_usgs_src_update.py 78.571% 3 Missing :warning:
pymake/utils/usgsprograms.py 84.210% 3 Missing :warning:
pymake/utils/_compiler_language_files.py 33.333% 2 Missing :warning:
pymake/utils/_dag.py 0.000% 2 Missing :warning:
... and 2 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #105 +/- ## ============================================= - Coverage 66.116% 65.933% -0.183% ============================================= Files 16 16 Lines 4120 4139 +19 ============================================= + Hits 2724 2729 +5 - Misses 1396 1410 +14 ``` | [Files](https://app.codecov.io/gh/modflowpy/pymake/pull/105?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy) | Coverage Δ | | |---|---|---| | [pymake/\_\_init\_\_.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL19faW5pdF9fLnB5) | `100.000% <100.000%> (ø)` | | | [pymake/pymake\_parser.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Fpymake_parser.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3B5bWFrZV9wYXJzZXIucHk=) | `31.578% <ø> (ø)` | | | [pymake/pymake\_build\_apps.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Fpymake_build_apps.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3B5bWFrZV9idWlsZF9hcHBzLnB5) | `82.291% <75.000%> (ø)` | | | [pymake/utils/\_Popen\_wrapper.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Futils%2F_Popen_wrapper.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3V0aWxzL19Qb3Blbl93cmFwcGVyLnB5) | `90.000% <66.666%> (ø)` | | | [pymake/utils/\_compiler\_language\_files.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Futils%2F_compiler_language_files.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3V0aWxzL19jb21waWxlcl9sYW5ndWFnZV9maWxlcy5weQ==) | `95.833% <33.333%> (ø)` | | | [pymake/utils/\_dag.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Futils%2F_dag.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3V0aWxzL19kYWcucHk=) | `81.621% <0.000%> (ø)` | | | [pymake/utils/\_usgs\_src\_update.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Futils%2F_usgs_src_update.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3V0aWxzL191c2dzX3NyY191cGRhdGUucHk=) | `87.965% <78.571%> (ø)` | | | [pymake/utils/usgsprograms.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Futils%2Fusgsprograms.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3V0aWxzL3VzZ3Nwcm9ncmFtcy5weQ==) | `83.414% <84.210%> (-0.081%)` | :arrow_down: | | [pymake/plot/dependency\_graphs.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Fplot%2Fdependency_graphs.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3Bsb3QvZGVwZW5kZW5jeV9ncmFwaHMucHk=) | `62.500% <28.571%> (-1.454%)` | :arrow_down: | | [pymake/pymake.py](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree&filepath=pymake%2Fpymake.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy#diff-cHltYWtlL3B5bWFrZS5weQ==) | `75.155% <60.000%> (+0.077%)` | :arrow_up: | | ... and [4 more](https://app.codecov.io/gh/modflowpy/pymake/pull/105?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modflowpy) | |