Skip to content
Snippets Groups Projects

Misc. cleanups in Python scripts

Merged Jean Abou Samra requested to merge jeanas/lilypond:python into master
  • Remove -tt option for Python, irrelevant in Python 3,
  • Clean up grand-replace.py, obviating pytt.py,
  • Use os.path.relpath for relative.py instead of manual manipulation of paths,
  • Simplify and inline string_to_integer from utilities.py.
Edited by Jean Abou Samra

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jean Abou Samra added 2 commits

    added 2 commits

    • c4d105ab - Simplify scripts/build/relative.py
    • 638c5383 - Python: simplify and inline string_to_integer()

    Compare with previous version

  • Jean Abou Samra resolved all threads

    resolved all threads

  • Jean Abou Samra added 2 commits

    added 2 commits

    • d6aa8b29 - Simplify scripts/build/relative.py
    • fedb201d - Python: simplify and inline string_to_integer()

    Compare with previous version

  • Werner Lemberg approved this merge request

    approved this merge request

  • Jean Abou Samra added Patchreview label and removed Patchnew label

    added Patchreview label and removed Patchnew label

  • Jonas Hahnfeld
  • I'd also appreciate if you could put at least some form of summary, maybe with a list of concerned scripts?

  • Jean Abou Samra added 6 commits

    added 6 commits

    • 9b790b73 - grand-replace.py: use globbing patterns for excluded files
    • 17a7f109 - grand-replace.py: remove unused stuff
    • 91794f02 - grand-replace.py: improve and fix parsing logic
    • ca514168 - Remove scripts/build/pytt.py
    • da058f90 - Simplify scripts/build/relative.py
    • b7cbbad2 - Python: simplify and inline string_to_integer()

    Compare with previous version

  • LilyPond Bot added Patchnew label and removed Patchreview label

    added Patchnew label and removed Patchreview label

  • Jean Abou Samra resolved all threads

    resolved all threads

  • Jean Abou Samra changed the description

    changed the description

  • Colin Campbell added Patchreview label and removed Patchnew label

    added Patchreview label and removed Patchnew label

  • Colin Campbell added Patchcountdown label and removed Patchreview label

    added Patchcountdown label and removed Patchreview label

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading