Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
76af01c
MAINT: update project metadata
jorgepiloto Apr 12, 2023
7bfea25
MAINT: update pre-commit hooks
jorgepiloto Apr 12, 2023
dfa4cc1
FEAT: update blacken-docs
jorgepiloto Apr 12, 2023
63c6a70
add the .proto file
wenhuiuy Apr 12, 2023
9622602
Merge branch 'main' into maint/tech-review
Revathyvenugopal162 Apr 12, 2023
be975fe
MAINT: general updates (#145)
Revathyvenugopal162 Apr 12, 2023
1e42b55
Apply suggestions from code review
Revathyvenugopal162 Apr 13, 2023
958df99
Fix: add python version
Revathyvenugopal162 Apr 13, 2023
3cb21c2
doc: fix accept version
Revathyvenugopal162 Apr 13, 2023
0c5a996
Merge branch 'main' into maint/tech-review
RobPasMue Apr 17, 2023
2dba2aa
Merge branch 'main' into maint/tech-review
RobPasMue Apr 17, 2023
93d0c68
Merge branch 'main' into maint/tech-review
RobPasMue Apr 18, 2023
95003e8
MAINT: do not support Python 3.7
jorgepiloto Apr 24, 2023
f7594d8
MAINT: point codespell to Vale
jorgepiloto Apr 24, 2023
e9bbb27
MAINT: declare style in pyproject.toml
jorgepiloto Apr 24, 2023
925e72e
MAINT: add AUTHORS.md file
jorgepiloto Apr 24, 2023
d869e19
MAINT: drop support for Python 3.7
jorgepiloto Apr 24, 2023
71a831e
Merge branch 'main' into maint/tech-review
jorgepiloto Jun 22, 2023
a6fd901
DOC: unify style
jorgepiloto Jun 22, 2023
ae5ace6
MAINT: pre-commit autoupdate
jorgepiloto Jun 22, 2023
a6b47d9
DOC: unify style
jorgepiloto Jun 22, 2023
8406edf
MAINT: add tox.ini file
jorgepiloto Jun 22, 2023
a53e3e4
DOC: conditionally exclude examples and api
jorgepiloto Jun 22, 2023
b5b1107
DOC: implement autoapi
jorgepiloto Jun 22, 2023
ae211e2
DOC: remove Google style
jorgepiloto Jun 22, 2023
6908bc6
DOC: remove batch file
jorgepiloto Jun 22, 2023
87e0d9b
DOC: conditionally exclude sections
jorgepiloto Jun 22, 2023
bede320
FEAT: unify line lenght
jorgepiloto Jun 22, 2023
b1b024b
CI: drop 3.7 support
jorgepiloto Jun 22, 2023
579ba46
MAINT: add CODEOWNERS file
jorgepiloto Jun 22, 2023
0ac4373
DOC: fix typo
jorgepiloto Jun 22, 2023
9949d44
FIX: add support for Python 3.11
jorgepiloto Jun 22, 2023
02f4a6d
DBG: build essential
jorgepiloto Jun 23, 2023
9d9f94a
CI: remove unnecessary gRPC tools
jorgepiloto Jun 23, 2023
9011089
MAINT: remove all unnecessary deps
jorgepiloto Jun 23, 2023
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
4 changes: 2 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ exclude = venv, __init__.py, doc/build
select = W191, W291, W293, W391, E115, E117, E122, E124, E125, E225, E231, E301, E303, E501, F401, F403
count = True
max-complexity = 10
max-line-length = 100
statistics = True
max-line-length = 120
statistics = True
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These owners will be the default owners for everything in the repo. Unless a
# later match takes precedence, the PyDyna team will be requested for review when
# someone opens a pull request.
* @ansys/pydyna
9 changes: 4 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ documentation:
maintenance:
- .github/**/*
- .flake8
- setup.py
- pyproject.toml
dependencies:
- requirements/**/*
- requirements_docs.txt
- requirements_test.txt
- pyproject.toml
testing:
- _unittest/conftest.py
- _unittest/conftest.py
- tests/*
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: ansys/actions/build-wheelhouse@v4
with:
Expand Down
208 changes: 149 additions & 59 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,76 +1,166 @@
# This is an example .gitignore and may need to be adapted per
# project.

# Compiled source #
###################
*.pyc
*.pyd
*.c
*.cpp
*.so
*.o
*.cache
.pytest_cache/
# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python

# OS generated files #
######################
.fuse_hidden*
*~
*swp
### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# emacs
flycheck*

# Old files #
_old/
# C extensions
*.so

# Pip generated folders #
#########################
*.egg-info/
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# autogenerated docs
_autosummary
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Testing
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.cov
.coverage
*,cover
test-output.xml

\#*
.\#*
/.ipynb_checkpoints

/ansys/dyna/pre/Server/input/
/ansys/dyna/pre/Server/output/
/client.log
/examples/pre/client.log
/ansys/dyna/pre/Server/output/
/ansys/dyna/pre/doc/build
/doc/_build
/doc/source/examples
/examples/Airbag/client.log
/examples/EM/client.log
/examples/Explicit/client.log
/examples/ICFD/client.log
/examples/IGA/client.log
/examples/Implicit/client.log
/examples/SALE/client.log

# Environment
.env
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
doc/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env/
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# VSCode
.vscode/
client.log
/src/ansys/dyna/core/pre/Server/input
/src/ansys/dyna/core/pre/Server/output
# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# Visual Studio
.vs/

# End of https://www.toptal.com/developers/gitignore/api/python

# Ignore rendered examples
doc/source/examples/
doc/source/API/_autosummary/
30 changes: 12 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,31 @@ exclude: |
repos:

- repo: https://github.com/psf/black
rev: 23.1.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!!
rev: 23.3.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!!
hooks:
- id: black
args:
- --line-length=120

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.13.0
rev: 1.14.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.1.0]
additional_dependencies: [black==23.3.0]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: codespell
args: ["--ignore-words=ignore_words.txt"]
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
args:
- --max-line-length=120

- repo: https://github.com/pycqa/isort
rev: 5.12.0
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: isort
args:
- --line-length=120
- id: codespell
args: ["--ignore-words", "doc/styles/Vocab/ANSYS/accept.txt"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand All @@ -55,6 +49,6 @@ repos:

# this validates our github workflow files
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.21.0
rev: 0.23.2
hooks:
- id: check-github-workflows
- id: check-github-workflows
7 changes: 7 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Authors

## Contributors

* [Zhanqun Zhang](https://github.com/zhangzhanqun)
* [Wenhui Yu](https://github.com/wenhuiuy)
* [Srikanth Adya](https://github.com/kanthadya)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 ANSYS, Inc. All rights reserved.
Copyright (c) 2023 ANSYS, Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 0 additions & 3 deletions doc/create_documentation.bat

This file was deleted.

15 changes: 0 additions & 15 deletions doc/source/API/index.rst

This file was deleted.

25 changes: 0 additions & 25 deletions doc/source/API/pre.rst

This file was deleted.

Loading