8000 Implement template inheritance by jorgepiloto · Pull Request #18 · ansys/ansys-templates · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement template inheritance #18

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

Merged
merged 73 commits into from
Mar 21, 2022
Merged

Implement template inheritance #18

merged 73 commits into from
Mar 21, 2022

Conversation

jorgepiloto
Copy link
Member
@jorgepiloto jorgepiloto commented Mar 15, 2022

Opening this in favor of #16 after experiencing really weird issues with GitHub.

Main goals of this PR:

  • Allow template inheritance.
  • Allow developers to easily add new templates.
  • Better modularization of the package.

Before merging:

  • Update pre-commit-config.yml to work with the new project layout.
  • Main CI should check for style, docs, smoke-tests and build of the ansys-templates tool.
  • One action per family template whose main goal is to check baked project integrity.
  • Add tool code coverage.
  • Update documentation by including new guidelines on how to add a new template.
  • Add CLI tests.
  • Update all README.rst files.
  • Clean commit history.

@jorgepiloto jorgepiloto marked this pull request as draft March 15, 2022 19:58
jorgepiloto and others added 5 commits March 18, 2022 20:09
Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Co-authored-by: Alex Kaszynski <akascap@gmail.com>
Co-authored-by: Alex Kaszynski <akascap@gmail.com>
@akaszynski
Copy link
Contributor

Co-authored-by: Alex Kaszynski <akascap@gmail.com>
@jorgepiloto
Copy link
Member Author

Next time, please accept several suggestions in a "batch." See: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request

Will use it from now on, for sure ☝🏽

Copy link
Contributor
@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor changes remain, but otherwise this is good to go.

Overall, this is excellent work. I especially like the testing sections, as this looks much easier to maintain via pytest rather than the makefile/script used in ansys/ansys-api-template.

Co-authored-by: Alex Kaszynski <akascap@gmail.com>
@jorgepiloto
Copy link
Member Author

This is finally ready! Thanks @akaszynski for the review. Merging... 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0