Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove res/ interoperability with python 2 #2518

Merged
merged 1 commit into from
Dec 9, 2021
Merged

Conversation

eivindjahren
Copy link
Contributor

@eivindjahren eivindjahren commented Dec 7, 2021

Removes use of six, super with arguments and inheritance from object which were left over from interoperability with python 2. python2 interoperability is spotty in any case as six is not part of install_requires and f-strings are used in some places.

@eivindjahren eivindjahren force-pushed the remove_python2_object branch 2 times, most recently from a43d62a to 011e7ad Compare December 7, 2021 13:52
@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2021

Codecov Report

Merging #2518 (fa48ac7) into main (0967e62) will decrease coverage by 0.00%.
The diff coverage is 86.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2518      +/-   ##
==========================================
- Coverage   63.73%   63.73%   -0.01%     
==========================================
  Files         658      658              
  Lines       54904    54902       -2     
  Branches     4393     4393              
==========================================
- Hits        34994    34991       -3     
  Misses      18584    18584              
- Partials     1326     1327       +1     
Impacted Files Coverage Δ
res/enkf/data/gen_data.py 67.50% <0.00%> (ø)
res/enkf/enkf_obs.py 69.15% <0.00%> (ø)
res/enkf/local_obsdata.py 60.43% <0.00%> (ø)
res/enkf/plot/block_observation_data_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/data_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/ensemble_block_data_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/ensemble_data_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/ensemble_gen_data_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/ensemble_gen_kw_fetcher.py 0.00% <0.00%> (ø)
res/enkf/plot/observation_data_fetcher.py 0.00% <0.00%> (ø)
... and 107 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0967e62...fa48ac7. Read the comment docs.

@eivindjahren eivindjahren force-pushed the remove_python2_object branch 4 times, most recently from d3ec03b to fa48ac7 Compare December 7, 2021 14:23
@eivindjahren eivindjahren changed the title Remove interoperability with python 2 Remove res/ interoperability with python 2 Dec 7, 2021
@eivindjahren eivindjahren force-pushed the remove_python2_object branch 2 times, most recently from 68b03d3 to f98d89a Compare December 7, 2021 16:45
@eivindjahren eivindjahren merged commit 3f84b97 into main Dec 9, 2021
@eivindjahren eivindjahren deleted the remove_python2_object branch December 9, 2021 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants