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

gh-113317: Move more formatting helpers into libclinic #113438

Merged
merged 3 commits into from
Dec 23, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Dec 23, 2023

  • Move strip_leading_and_trailing_blank_lines() and make it internal to libclinic
  • Move normalize_snippet() to libclinic
  • Move format_escape() to libclinic
  • Move wrap_declarations() to libclinic

- Move strip_leading_and_trailing_blank_lines() and make it internal to libclinic
- Move normalize_snippet() to libclinic
- Move format_escape() to libclinic
- Move wrap_declarations() to libclinic
Tools/clinic/libclinic/formatting.py Outdated Show resolved Hide resolved
@erlend-aasland erlend-aasland enabled auto-merge (squash) December 23, 2023 16:51
@erlend-aasland erlend-aasland merged commit ca71987 into python:main Dec 23, 2023
33 checks passed
@erlend-aasland erlend-aasland deleted the clinic/globals-formatting branch December 23, 2023 17:08
ryan-duve pushed a commit to ryan-duve/cpython that referenced this pull request Dec 26, 2023
…113438)

Move the following global helpers into libclinic:
- format_escape()
- normalize_snippet()
- wrap_declarations()

Also move strip_leading_and_trailing_blank_lines() and make it internal to libclinic.
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…113438)

Move the following global helpers into libclinic:
- format_escape()
- normalize_snippet()
- wrap_declarations()

Also move strip_leading_and_trailing_blank_lines() and make it internal to libclinic.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…113438)

Move the following global helpers into libclinic:
- format_escape()
- normalize_snippet()
- wrap_declarations()

Also move strip_leading_and_trailing_blank_lines() and make it internal to libclinic.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…113438)

Move the following global helpers into libclinic:
- format_escape()
- normalize_snippet()
- wrap_declarations()

Also move strip_leading_and_trailing_blank_lines() and make it internal to libclinic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants