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

chore: update with repo template #100

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

SebastianScheidegger
Copy link

@SebastianScheidegger SebastianScheidegger commented Jan 30, 2025

Proposed changes

Use the open-source-polarion-docker-repo-template as a base for python docker repo and update config and github files.
Add tests and typing to pass checks

Checklist

Before creating a PR, run through this checklist and mark each as complete:

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation

Updated with open-source-polarion-python-repo-template and added tests for 90% coverage
Change test script permissions
update sonar properties
@SebastianScheidegger SebastianScheidegger requested review from a team as code owners January 30, 2025 09:36
remove manual sonar in ci.yml
Add test comments and fix float values in get_px_conversion_ratio
Copy link

sonarqubecloud bot commented Feb 6, 2025

@@ -1,10 +1,19 @@
FROM python:3.13.1-slim@sha256:f41a75c9cee9391c09e0139f7b49d4b1fbb119944ec740ecce4040626dc07bed
# hadolint global ignore=DL3008
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this really needed?

to_base64,
)

test_script_path = "./tests/test.sh"
Copy link
Collaborator

Choose a reason for hiding this comment

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

why shell call instead of python code?


from app.weasyprint_controller import app

test_script_path = "./tests/test.sh"
Copy link
Collaborator

Choose a reason for hiding this comment

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

why shell code instead of python?

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