Skip to content

Conversation

@janosh
Copy link
Member

@janosh janosh commented Mar 6, 2024

prefix "_" indicates private but cross-imported means de facto public.

strictly speaking breaking if downstream code was importing these private symbols but given they were marked private there was no expectation of stability.

prefix "_" indicates private but cross-imported means de facto public
@codecov
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.56%. Comparing base (0ce2086) to head (6d795b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #767      +/-   ##
==========================================
- Coverage   76.56%   76.56%   -0.01%     
==========================================
  Files         114      114              
  Lines        8478     8477       -1     
  Branches     1274     1273       -1     
==========================================
- Hits         6491     6490       -1     
  Misses       1600     1600              
  Partials      387      387              
Files Coverage Δ
src/atomate2/aims/files.py 79.48% <ø> (-0.52%) ⬇️
src/atomate2/aims/flows/phonons.py 88.88% <ø> (ø)
src/atomate2/common/schemas/elastic.py 88.65% <100.00%> (ø)
src/atomate2/vasp/run.py 39.34% <100.00%> (ø)
src/atomate2/vasp/sets/base.py 73.08% <100.00%> (ø)

@janosh janosh changed the title Rename vars/functions prefixed with _ but cross-imported Make functions prefixed with _ but cross-imported public Mar 6, 2024
@janosh janosh added the house-keeping Formatting and code quality tweaks label Mar 6, 2024
@janosh janosh merged commit ee0f525 into main Mar 6, 2024
@janosh janosh deleted the rename-private-but-imported branch March 6, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

house-keeping Formatting and code quality tweaks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants