Skip to content
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

334 autogenerate vorlagepy #402

Merged
merged 11 commits into from
Aug 8, 2024
Merged

334 autogenerate vorlagepy #402

merged 11 commits into from
Aug 8, 2024

Conversation

SepplL
Copy link
Contributor

@SepplL SepplL commented Aug 5, 2024

This is a first idea for auto-generating the vorlage.py from solution file.
Possible improvements:

  • make automated targets with more make-magic and better file referencing
  • skip dirs and vorlage if not necessary, i.e. better checking for # begin ... # end in solution file
  • possible multiple files, benefiting from better file reference

@SepplL SepplL linked an issue Aug 5, 2024 that may be closed by this pull request
@SepplL
Copy link
Contributor Author

SepplL commented Aug 5, 2024

currently 1-python works, more to come

@SepplL SepplL requested review from aknierim, chrbeckm and maxnoe August 5, 2024 15:16
Copy link
Member

@aknierim aknierim left a comment

Choose a reason for hiding this comment

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

Looks good so far

SepplL added 6 commits August 5, 2024 17:34
also making all comments `flake-8` compatible to prevent commits from
aborting due to pre-hook warnings.
although not strictly necessary, include dir to make build process
consistent to other dirs as well
trying to make the build process more general and robust
also make own code more flake8 complient

changed ambigous variable name I
flake8 adjustments:
- import at top of file
- renamed unumpy.sin to usin with second sin import later
- shorter comment line
@SepplL SepplL marked this pull request as ready for review August 6, 2024 12:19
@aknierim
Copy link
Member

aknierim commented Aug 6, 2024

Works for me

@chrbeckm chrbeckm merged commit f924969 into main Aug 8, 2024
1 check passed
@chrbeckm chrbeckm deleted the 334-autogenerate-vorlagepy branch September 29, 2024 16:05
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.

Autogenerate "vorlage.py" from "loesung.py"
3 participants