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

Change fmt/lint/check docs with latest changes #17133

Merged
merged 4 commits into from
Oct 19, 2022

Conversation

thejcannon
Copy link
Member

@thejcannon thejcannon commented Oct 6, 2022

Changing the docs to keep the "lowest-bar-to-entry" example but compatible with the new changes. I don't love it, but I'm also not feeling very creative.

Fixes #16865

[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
Copy link
Member Author

(Still need to do docs/markdown/Writing Plugins/common-plugin-tasks/plugin-upgrade-guide.md)

# 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
Copy link
Member Author

Docs need to be refreshed when #17192 is in

@stuhood
Copy link
Member

stuhood commented Oct 12, 2022

Docs need to be refreshed when #17192 is in

Should this be in Draft?

@thejcannon
Copy link
Member Author

thejcannon commented Oct 12, 2022

#17192 is in now. I just need to update this (I can't request changes on my own PR, which is what I would've done). Still pretty reviewable IMO.

@stuhood stuhood marked this pull request as draft October 12, 2022 21:11
@stuhood stuhood marked this pull request as ready for review October 12, 2022 21:11
# 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]
Copy link
Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks!


(Why are targetless formatters something we want to support? This allows us to have `BUILD` file formatters,
formatters like `Prettier` running on your codebase *without* boilerplate targets, as well as Pants
doing interesting deprecation fixers on its own files)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
doing interesting deprecation fixers on its own files)
doing interesting deprecation fixers on its own files.)


-----

As always, taking a look at Pants' own plugins can also be very enlightening.
Copy link
Member

Choose a reason for hiding this comment

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

A permalink to one would be great.

@thejcannon thejcannon merged commit be00ed5 into pantsbuild:main Oct 19, 2022
@thejcannon thejcannon deleted the docschange branch October 19, 2022 16:49
@thejcannon
Copy link
Member Author

oh shoot. got trigger happy and merged. I'll bring these two comments into the inevitable next change of the docs.

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.

Document 2.15 changes to lint and fmt.
2 participants