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

Formatted string support #85

Merged
merged 4 commits into from
Aug 26, 2024
Merged

Formatted string support #85

merged 4 commits into from
Aug 26, 2024

Conversation

knutwannheden
Copy link
Contributor

@knutwannheden knutwannheden commented Aug 22, 2024

Provides basic f-string support. Corner cases will be handled in subsequent commits.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Some suggestions could not be made:

  • src/main/java/org/openrewrite/python/ChangeMethodName.java
    • lines 20-20
  • src/main/java/org/openrewrite/python/PythonVisitor.java
    • lines 18-18
  • src/main/java/org/openrewrite/python/cleanup/StartsWithEndsWith.java
    • lines 18-18
  • src/main/java/org/openrewrite/python/marker/PythonExtraPadding.java
    • lines 21-21
  • src/main/java/org/openrewrite/python/package-info.java
    • lines 21-21
  • src/main/java/org/openrewrite/python/tree/PySpace.java
    • lines 18-18
  • src/test/java/org/openrewrite/python/tree/MethodInvocationTest.java
    • lines 23-23
  • src/test/java/org/openrewrite/python/tree/package-info.java
    • lines 20-20

# Conflicts:
#	rewrite/rewrite/python/__init__.py
#	rewrite/rewrite/python/tree.py
#	rewrite/rewrite/python/visitor.py
`FormattedValue` was renamed to `Value` and is owned by `FormattedString`.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Some suggestions could not be made:

  • src/test/java/org/openrewrite/python/tree/MethodInvocationTest.java
    • lines 23-23
  • src/test/java/org/openrewrite/python/tree/package-info.java
    • lines 20-20

@knutwannheden knutwannheden changed the title WIP: Formatted strings Formatted string support Aug 26, 2024
@knutwannheden knutwannheden marked this pull request as ready for review August 26, 2024 09:12
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Some suggestions could not be made:

  • src/test/java/org/openrewrite/python/tree/MethodInvocationTest.java
    • lines 23-23
  • src/test/java/org/openrewrite/python/tree/package-info.java
    • lines 20-20

@knutwannheden knutwannheden merged commit dbd64e7 into main Aug 26, 2024
2 checks passed
@knutwannheden knutwannheden deleted the formatted-strings branch August 26, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant