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

Add more type hints and regenerate Markdown pages from docstrings #2206

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Aug 25, 2022

Also fixes the precommit error described in #2203 (comment).

@codecov-commenter
Copy link

Codecov Report

Merging #2206 (bd3974d) into master (63cd51f) will not change coverage.
The diff coverage is 94.11%.

@@           Coverage Diff           @@
##           master    #2206   +/-   ##
=======================================
  Coverage   73.24%   73.24%           
=======================================
  Files          17       17           
  Lines        4897     4897           
=======================================
  Hits         3587     3587           
  Misses       1310     1310           
Impacted Files Coverage Δ
python/simulation.py 76.84% <93.75%> (ø)
python/geom.py 94.14% <100.00%> (ø)

@@ -3048,7 +3059,7 @@ def _display_energy(self, name, func, energys):
zip(freqs, *[func(f) for f in energys]),
)

def display_electric_energy(self, *energys):
def display_electric_energy(self, *energys: List[DftEnergy]):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is energies misspelled here?

@stevengj stevengj merged commit 308cc64 into NanoComp:master Aug 25, 2022
@oskooi oskooi deleted the more_type_hints branch September 2, 2022 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants