Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: add --pyformat option to use Python string formatting#111

Merged
tswast merged 7 commits intomainfrom
tswast-pyformatter
Mar 26, 2025
Merged

feat: add --pyformat option to use Python string formatting#111
tswast merged 7 commits intomainfrom
tswast-pyformatter

Conversation

@tswast
Copy link
Copy Markdown
Contributor

@tswast tswast commented Mar 26, 2025

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@tswast tswast requested review from a team, hongalex and sycai March 26, 2025 17:21
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Mar 26, 2025
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-magics API. label Mar 26, 2025
),
),
)
def test_parse_fields(sql_template: str, expected: list[str]):
Copy link
Copy Markdown
Contributor

@sycai sycai Mar 26, 2025

Choose a reason for hiding this comment

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

We probably need to use expected: typing.List[str] for the unit test to pass

@tswast tswast enabled auto-merge (squash) March 26, 2025 18:10
@tswast tswast disabled auto-merge March 26, 2025 18:14
@tswast tswast enabled auto-merge (squash) March 26, 2025 18:15
@tswast tswast disabled auto-merge March 26, 2025 18:15
@tswast tswast merged commit bd15a5b into main Mar 26, 2025
25 checks passed
@tswast tswast deleted the tswast-pyformatter branch March 26, 2025 19:26
@tswast tswast restored the tswast-pyformatter branch March 26, 2025 19:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery-magics API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants