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

Add a [lints] entry for workspace members missing it #11900

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

Kanabenki
Copy link
Contributor

Objective

  • Some workspace members do not inherit the global lints.

Solution

  • Add a [lints] entry for all files returned by rg --files-without-match -F "[lints]" **/Cargo.toml, except the compile failure tests since these aren't part of the workspace.
  • Add some docstrings where needed.

@Kanabenki Kanabenki added A-Build-System Related to build systems or continuous integration C-Code-Quality A section of code that is hard to understand or change labels Feb 16, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Feb 16, 2024
@james7132 james7132 enabled auto-merge February 18, 2024 07:58
@james7132 james7132 disabled auto-merge February 18, 2024 07:59
@james7132
Copy link
Member

james7132 commented Feb 19, 2024

error: failed to parse manifest at `/home/runner/work/bevy/bevy/benches/Cargo.toml`

We may want to remove this if this is causing a CI failure.

benches/Cargo.toml Outdated Show resolved Hide resolved
benches/Cargo.toml Outdated Show resolved Hide resolved
benches/Cargo.toml Outdated Show resolved Hide resolved
@Kanabenki
Copy link
Contributor Author

`` error: failed to parse manifest at /home/runner/work/bevy/bevy/benches/Cargo.toml `

Missed that it wasn't part of the workspace. @alice-i-cecile thanks for taking care of it!

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Feb 19, 2024
Merged via the queue into bevyengine:main with commit f77618e Feb 19, 2024
26 of 27 checks passed
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
)

# Objective

- Some workspace members do not inherit the global lints.

## Solution

- Add a `[lints]` entry for all files returned by `rg
--files-without-match -F "[lints]" **/Cargo.toml`, except the compile
failure tests since these aren't part of the workspace.
- Add some docstrings where needed.

---------

Co-authored-by: Alice Cecile <[email protected]>
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
)

# Objective

- Some workspace members do not inherit the global lints.

## Solution

- Add a `[lints]` entry for all files returned by `rg
--files-without-match -F "[lints]" **/Cargo.toml`, except the compile
failure tests since these aren't part of the workspace.
- Add some docstrings where needed.

---------

Co-authored-by: Alice Cecile <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants