Visitar URL original
Add note in coding guide that we should use `pathlib` instead of `os.path` by namurphy · Pull Request #1702 · PlasmaPy/PlasmaPy · GitHub
Skip to content

Add note in coding guide that we should use pathlib instead of os.path - #1702

Merged
StanczakDominik merged 1 commit into
PlasmaPy:mainfrom
namurphy:coding-guide-pathlib
Aug 27, 2022
Merged

StanczakDominik merged 1 commit into
PlasmaPy:mainfrom
namurphy:coding-guide-pathlib

Conversation

@namurphy

Copy link
Copy Markdown
Member

This is a quick follow-up PR to #1684 and #1690 that says that we should use pathlib to deal with paths instead of os.path.

@namurphy namurphy added no changelog entry needed For PRs that should not have a changelog entry size: very small < 10 changed lines labels Aug 27, 2022
@codecov

codecov Bot commented Aug 27, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #1702 (48ebe89) into main (06e5d4e) will increase coverage by 0.43%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1702      +/-   ##
==========================================
+ Coverage   97.23%   97.66%   +0.43%     
==========================================
  Files          85       85              
  Lines        8020     8183     +163     
==========================================
+ Hits         7798     7992     +194     
+ Misses        222      191      -31     
Impacted Files Coverage Δ
plasmapy/formulary/relativity.py 99.21% <0.00%> (-0.79%) ⬇️
plasmapy/particles/particle_collections.py 99.16% <0.00%> (-0.06%) ⬇️
plasmapy/particles/ionization_state.py 94.04% <0.00%> (-0.02%) ⬇️
plasmapy/particles/atomic.py 100.00% <0.00%> (ø)
plasmapy/particles/__init__.py 95.83% <0.00%> (ø)
plasmapy/particles/_factory.py 100.00% <0.00%> (ø)
plasmapy/formulary/parameters.py 100.00% <0.00%> (ø)
plasmapy/formulary/dimensionless.py 100.00% <0.00%> (ø)
plasmapy/particles/data/test/__init__.py 100.00% <0.00%> (ø)
plasmapy/plasma/sources/openpmd_hdf5.py 82.41% <0.00%> (+0.89%) ⬆️
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@StanczakDominik
StanczakDominik merged commit fae23f3 into PlasmaPy:main Aug 27, 2022
@namurphy
namurphy deleted the coding-guide-pathlib branch August 27, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor guide no changelog entry needed For PRs that should not have a changelog entry size: very small < 10 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants