Skip to content

Commit 40a383c

Browse files
committed
fixing unused variable in gui
1 parent 2bd3388 commit 40a383c

29 files changed

+33
-34
lines changed

pyNastran/bdf/bdf_interface/dev/test_mass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,5 +299,5 @@ def test_make_gpwg_2(self):
299299
assert np.allclose(IQ, IQ_expected, atol=1e-4), f'IQ:\n{IQ}\nIQ_epected:\n{IQ_expected}'
300300
assert np.allclose(Q, Q_expected, atol=1e-4), f'Q:\n{Q}\nIQ_epected:\n{Q_expected}'
301301

302-
if __name__ == '__main__':
302+
if __name__ == '__main__': # pragma: no cover
303303
unittest.main()

pyNastran/bdf/bdf_interface/test/test_executive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ def test_blank_id(self):
2525
assert len(model.nodes) == 1, model.nodes
2626
#print(model)
2727

28-
if __name__ == '__main__':
28+
if __name__ == '__main__': # pragma: no cover
2929
unittest.main()

pyNastran/bdf/cards/aero/spline_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"""
2828
#from typing import TYPE_CHECKING
2929
import numpy as np
30-
#if TYPE_CHECKING:
3130
from pyNastran.bdf.bdf import BDF
3231
from cpylog import SimpleLogger
3332

@@ -242,5 +241,5 @@ def main():
242241
deflections, apoints, log)
243242

244243

245-
if __name__ == '__main__':
244+
if __name__ == '__main__': # pragma: no cover
246245
main()

pyNastran/bdf/cards/test/test_superelements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,5 +300,5 @@ def create_superelement(super_id: int,
300300
return super_model, super_key
301301

302302

303-
if __name__ == '__main__': # pragma: no cover
303+
if __name__ == '__main__': # pragma: no cover
304304
unittest.main()

pyNastran/bdf/cards/test/test_thermal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,5 +382,5 @@ def test_thermal_2(self):
382382

383383

384384

385-
if __name__ == '__main__': # pragma: no cover
385+
if __name__ == '__main__': # pragma: no cover
386386
unittest.main()

pyNastran/bdf/mesh_utils/add_remove_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ def main():
110110
)
111111

112112

113-
if __name__ == '__main__':
113+
if __name__ == '__main__': # pragma: no cover
114114
main()

pyNastran/bdf/mesh_utils/bdf_remove_comments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from pyNastran.utils import PathLike
2020
from pyNastran.utils.numpy_utils import integer_types
2121
from pyNastran.bdf.mesh_utils.bdf_renumber import _write_bdf, _get_bdf_model
22-
if TYPE_CHECKING:
22+
if TYPE_CHECKING: # pragma: no cover
2323
from cpylog import SimpleLogger
2424

2525

pyNastran/bdf/mesh_utils/bdf_renumber.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from pyNastran.utils import PathLike
2020
from pyNastran.utils.numpy_utils import integer_types
2121
from pyNastran.utils.mathematics import roundup
22-
if TYPE_CHECKING:
22+
if TYPE_CHECKING: # pragma: no cover
2323
from cpylog import SimpleLogger
2424

2525

pyNastran/bdf/mesh_utils/bdf_renumber_exclude.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from pyNastran.utils.mathematics import roundup
1212
from pyNastran.bdf.mesh_utils.bdf_renumber import _get_bdf_model, _write_bdf
1313

14-
if TYPE_CHECKING:
14+
if TYPE_CHECKING: # pragma: no cover
1515
from cpylog import SimpleLogger
1616

1717

pyNastran/bdf/mesh_utils/cmd_line/bdf_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22
import sys
33
#from typing import TYPE_CHECKING
4-
#if TYPE_CHECKING:
4+
#if TYPE_CHECKING: # pragma: no cover
55
# from pyNastran.bdf.bdf import BDF
66

77

0 commit comments

Comments
 (0)