File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ docstring-code-format = true
257257addopts = " -n auto --durations=30 --quiet -r xXs --color=yes --import-mode=importlib"
258258filterwarnings = [
259259 # NOTE: the LAST matching option would be used
260- " ignore::UserWarning" , # Ignore UserWarning
260+ " ignore::UserWarning" ,
261261]
262262
263263[tool .coverage .run ]
@@ -273,12 +273,7 @@ omit = [
273273[tool .coverage .report ]
274274exclude_also = [
275275 " @deprecated" ,
276- " def __repr__" ,
277276 " except ImportError:" ,
278- " if TYPE_CHECKING:" ,
279- " if self.debug:" ,
280- " if settings.DEBUG" ,
281- " pragma: no cover" ,
282277 " raise NotImplementedError" ,
283278 " show_plot" ,
284279]
Original file line number Diff line number Diff line change @@ -5828,7 +5828,7 @@ def read_data(dtype):
58285828 @property
58295829 def cder (self ) -> NDArray :
58305830 """The complex derivative of the orbitals with respect to k."""
5831- if self .cder_real .shape [0 ] != self .cder_real .shape [1 ]: # pragma: no cover
5831+ if self .cder_real .shape [0 ] != self .cder_real .shape [1 ]:
58325832 warnings .warn (
58335833 "Not all band pairs are present in the WAVEDER file."
58345834 "If you want to get all the matrix elements set LVEL=.True. in the INCAR." ,
You can’t perform that action at this time.
0 commit comments