-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create jinja_report tryton module #1
Conversation
35c8075
to
4f93c28
Compare
.github/workflows/tests.yml
Outdated
|
||
strategy: | ||
matrix: | ||
python-version: [3.9] |
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.
We could set more versions from 3.8 to 3.10 for example. Or at least the same versions stated in the setup.py classifiers block.
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.
And those should be present in the tox.ini test matrix as well
4f93c28
to
d9f4652
Compare
d4fa82f
to
1249f2d
Compare
.github/workflows/tests.yml
Outdated
|
||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9] |
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.
Watchout actions/setup-python#249 (comment) to support python-3.10
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.
Thanks! Now is already fixed
This is the first commit which contains everything is need to create a tryton report based on jinja2 with just installing this module and override Jinja2Report class. This commit set up: - Jinja2Report class to create new reports and SetTranslationJinja2 class to create translations. - Files related to wheel package such as setup, manifest, License, etc. - Readme in order to understand how to use this module - Simple test which checks that is possible to override Jinja2Report and obtain a rendered html - Tox with test and linting processes - Github actions with launch tox on a PR to a master - Github actions to wheel package and upload to pypi when a tagged commit arribes to origin
1249f2d
to
d30ae11
Compare
This is the first commit which contains everything is need to create a tryton report based on jinja2 with just
installing this module and override Jinja2Report class. This commit set up: