Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2e78c01
feat: attempt for docstring length improvement
clatapie Sep 11, 2024
f77b505
feat: adding latest enhancements
clatapie Sep 13, 2024
88e4bbe
fix: most of the type hint issues
clatapie Sep 16, 2024
47f0cfc
feat: adapting docstring_length
clatapie Oct 16, 2024
ce3e591
Merge branch 'main' into fix/docstring_length
clatapie Oct 16, 2024
7eda7c1
maint: updating cicd
clatapie Oct 16, 2024
4c4b96f
maint: updating cicd - 2
clatapie Oct 16, 2024
bfb6b0a
Merge branch 'fix/docstring_length' of https://github.com/ansys/pycon…
clatapie Oct 16, 2024
a7aed2f
fix: ``to_py_docstring``
clatapie Oct 16, 2024
913f673
fix: resetting cache
clatapie Oct 16, 2024
78c66f4
fix: ``to_py_docstring`` - 2
clatapie Oct 16, 2024
13b3ba3
Merge branch 'main' into fix/docstring_length
clatapie Oct 16, 2024
c93272a
fix: tests and missing arguments
clatapie Oct 16, 2024
93e7c0e
docs: using ``: `` syntax instead of `` : ``
clatapie Oct 16, 2024
91cd706
Merge branch 'main' into fix/docstring_length
clatapie Oct 16, 2024
a7e3ac0
Merge branch 'main' into fix/docstring_length
clatapie Oct 16, 2024
15dcba3
fix: ``max_length`` argument in ``Math`` class
clatapie Oct 16, 2024
73c0fc6
fix: removing dead code
clatapie Oct 17, 2024
6eda4dc
Merge branch 'main' into fix/docstring_length
clatapie Oct 17, 2024
9d313e5
feat: using ``"num2words`` and fixing ``command =`` output
clatapie Oct 17, 2024
5370ad9
fix: reformatting the code for ``pre-commit``
clatapie Oct 17, 2024
ff4f1fd
Merge branch 'main' into fix/docstring_length
clatapie Oct 17, 2024
266c3fa
fix: fixing some indent errors
clatapie Oct 17, 2024
0e1b874
Merge branch 'fix/docstring_length' of https://github.com/ansys/pycon…
clatapie Oct 17, 2024
30ebade
Merge branch 'main' into fix/docstring_length
clatapie Oct 17, 2024
b4fba30
fix: using ``inflect`` instead of ``num2words`` and fixing parameter …
clatapie Oct 17, 2024
2a3502e
Merge branch 'fix/docstring_length' of https://github.com/ansys/pycon…
clatapie Oct 17, 2024
603f52d
fix: pre-commit
clatapie Oct 17, 2024
39b5944
Merge branch 'main' into fix/docstring_length
clatapie Oct 17, 2024
63435a6
fix: `to_py_signature``
clatapie Oct 17, 2024
61a0a1c
Merge branch 'fix/docstring_length' of https://github.com/ansys/pycon…
clatapie Oct 17, 2024
44afa1a
fix: removing ``num`words`` as a dependency
clatapie Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ on:
- main

env:
MAIN_PYTHON_VERSION: '3.10'
MAIN_PYTHON_VERSION: '3.12'
PACKAGE_NAME: 'pyconverter-xml2py'
PACKAGE_NAMESPACE: 'pyconverter.xml2py'
DOCUMENTATION_CNAME: 'pyconverter-xml2py.docs.pyansys.com'
RESET_PIP_CACHE: 2
RESET_AUTOSUMMARY_CACHE: 2
RESET_DOC_BUILD_CACHE: 2
RESET_PIP_CACHE: 10
RESET_AUTOSUMMARY_CACHE: 10
RESET_DOC_BUILD_CACHE: 10
ON_CI: true

concurrency:
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}


smoke-tests:
name: Build and Smoke tests (Linux)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -229,6 +228,8 @@ jobs:
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}


release:
Expand Down Expand Up @@ -262,4 +263,5 @@ jobs:
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
python-version: ${{ env.MAIN_PYTHON_VERSION }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
12 changes: 6 additions & 6 deletions doc/source/user_guide/source_code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,21 +146,21 @@ into account and added to the Python docstring:

Parameters
----------
nl1 : str
nl1: str
Number of the first line to be hit (touched by the end of the new line). If negative, assume ``P1`` (see below) is the second keypoint of the line instead of the first
nl2 : str
nl2: str
Number of the second line to be hit. If negative, assume ``P3`` is the second keypoint of the line instead of the first.

ang1 : str
ang1: str
Angle of intersection (usually zero or 180) of generated line with tangent to first line.

ang2 : str
ang2: str
Angle of intersection (usually zero or 180) of generated line with tangent to second line.

phit1 : str
phit1: str
Number to be assigned to keypoint generated at hit location on first line (defaults to lowest available keypoint number ( :ref:`numstr` )).

phit2 : str
phit2: str
Number to be assigned to keypoint generated at hit location on second line (defaults to lowest available keypoint number ( :ref:`numstr` )).

Returns
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies = [
"click>=7.0,<9.0.0",
"importlib-metadata>=4.0",
"pygithub>=1.59.1",
"inflect>=7.0.0",
"lxml>=4.9.3",
"numpy>=1.14.0,<1.25.0; python_version<'3.9'",
"numpy>=1.14.0; python_version>='3.9'",
Expand All @@ -44,6 +45,7 @@ dependencies = [
tests = [
"black>=24.2.0",
"click==8.1.7",
"inflect==7.4.0",
"pygithub==2.4.0",
"lxml==5.3.0",
"numpy==2.1.2",
Expand All @@ -59,6 +61,7 @@ doc = [
"ansys-sphinx-theme[autoapi]==1.1.5",
"build>= 0.10.0",
"flit>=3.8.0",
"inflect==7.4.0",
"jupyter_sphinx==0.5.3",
"numpy==2.1.2",
"numpydoc==1.8.0",
Expand Down
Loading
Loading