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

Fix error in clean_svg.py and allow it to run on .tablet files #782

Merged
merged 3 commits into from
Oct 15, 2024

Commits on Oct 11, 2024

  1. tools/clean_svg: drop superfluous nargs

    If nargs=1 the result is a tuple but that's not really necessary here.
    whot committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    cd02780 View commit details
    Browse the repository at this point in the history
  2. tools/clean_svg: fix leftover call to getchildren()

    Fixes: 2752276 ("tools/clean_svg.py: fix to work with Python3")
    whot committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9b87121 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. tools/clean_svg: allow passing in a .tablet file

    If the svg file passed in is a .tablet file, extract the layout and
    tablet name from there. This allows us to run the tool on the existing
    tablet files to check for any differences.
    
    Add this into the CI so we ensure that script doesn't crash on our SVG
    files.
    whot committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    b568c49 View commit details
    Browse the repository at this point in the history