-
Notifications
You must be signed in to change notification settings - Fork 115
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
Use ansys-tools-path package #1995
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1995 +/- ##
==========================================
- Coverage 82.98% 82.89% -0.09%
==========================================
Files 44 44
Lines 7932 7850 -82
==========================================
- Hits 6582 6507 -75
+ Misses 1350 1343 -7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
I'm having some issues with injecting documentation in docstring. It does not make sense. Only #1991 #1996 has been implemented, and I dont see why these should change anything... Error:/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/solution/fe_constraints.py:docstring of ansys.mapdl.core._commands.solution.fe_constraints.FeConstraints.dlist:26: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/solution/fe_constraints.py:docstring of ansys.mapdl.core._commands.solution.fe_constraints.FeConstraints.dlist:23: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/solution/fe_forces.py:docstring of ansys.mapdl.core._commands.solution.fe_forces.FeForces.flist:25: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/solution/fe_forces.py:docstring of ansys.mapdl.core._commands.solution.fe_forces.FeForces.flist:22: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/preproc/elements.py:docstring of ansys.mapdl.core._commands.preproc.elements.Elements.swlist:21: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/preproc/elements.py:docstring of ansys.mapdl.core._commands.preproc.elements.Elements.swlist:18: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/preproc/nodes.py:docstring of ansys.mapdl.core._commands.preproc.nodes.Nodes.nlist:48: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/preproc/nodes.py:docstring of ansys.mapdl.core._commands.preproc.nodes.Nodes.nlist:45: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post26_/status.py:docstring of ansys.mapdl.core._commands.post26_.status.Status.print:16: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post26_/status.py:docstring of ansys.mapdl.core._commands.post26_.status.Status.print:13: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prcint:64: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prcint:61: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prenergy:32: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prenergy:29: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/listing.py:docstring of ansys.mapdl.core._commands.post1_.listing.Listing.prerr:16: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/listing.py:docstring of ansys.mapdl.core._commands.post1_.listing.Listing.prerr:13: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.presol:27: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.presol:24: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/element_table.py:docstring of ansys.mapdl.core._commands.post1_.element_table.ElementTable.pretab:27: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/element_table.py:docstring of ansys.mapdl.core._commands.post1_.element_table.ElementTable.pretab:24: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/listing.py:docstring of ansys.mapdl.core._commands.post1_.listing.Listing.priter:16: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/listing.py:docstring of ansys.mapdl.core._commands.post1_.listing.Listing.priter:13: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prjsol:40: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prjsol:37: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prnld:44: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prnld:41: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prnsol:27: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prnsol:24: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prorb:16: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prorb:13: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/path_operations.py:docstring of ansys.mapdl.core._commands.post1_.path_operations.PathOperations.prpath:22: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/path_operations.py:docstring of ansys.mapdl.core._commands.post1_.path_operations.PathOperations.prpath:19: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prrfor:22: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prrfor:19: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prrsol:21: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prrsol:18: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/path_operations.py:docstring of ansys.mapdl.core._commands.post1_.path_operations.PathOperations.prsect:36: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/path_operations.py:docstring of ansys.mapdl.core._commands.post1_.path_operations.PathOperations.prsect:33: WARNING: Block quote ends without a blank line; unexpected unindent.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prvect:38: ERROR: Unexpected indentation.
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/results.py:docstring of ansys.mapdl.core._commands.post1_.results.Results.prvect:35: WARNING: Block quote ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done |
My guess is that this is due to bumping the cache. |
* adding ansys-tools-path dependencies * Removing functions * Reorg a bit * Removing tests * Updating docs * Removing orphan test * fixing one test * Getting rid of get_ansys_bin * Getting rid of get_ansys_bin * fix * Removing calls to _get_available_ansys_installations. * Fixing test ubuntu * Using find_ansys to get latest. * Fixing tests * Removing duplicated skipif * fixing version number on remote instance * Small improvement in makefile * resetting cache * adding tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixing doc warnings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removing warning directive * Adding missing pyiges package --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
As the title.
Notes:
I have intentionally left some functions to check the API of that package.