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

Prefactor tffmt to be friendlier to upcoming changes #16966

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

thejcannon
Copy link
Member

Formatters will get dedicated partitioning rules just like lint in an upcoming PR. This change essentially makes the tffmt code look very close to how it'll look in that PR.

Mainly:

  • style.py has been renamed to partition.py and greatly stripped
  • tffmt.py core rule now shells out to 2 helper rules (suspiciously looking like the upcoming PRs)

[ci skip-rust]
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@thejcannon thejcannon added the category:internal CI, fixes for not-yet-released features, etc. label Sep 22, 2022
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@thejcannon thejcannon merged commit 57b35c9 into pantsbuild:main Sep 23, 2022
@thejcannon thejcannon deleted the terrafmt-prefactor branch September 23, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants