DM-55493: Refresh vendored ruff-shared.toml for ruff 0.16 CPY001 - #300
Merged
Conversation
Sync the vendored ruff-shared.toml with the current lsst/templates fastapi_safir_app copy, which now ignores CPY001 (missing-copyright-notice) now that ruff 0.16.0 stabilized it out of preview. DM-55493
jonathansick
force-pushed
the
tickets/DM-55493-ruff-cpy001
branch
from
July 27, 2026 17:50
b202823 to
66a306e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CPY001(missing-copyright-notice) out of preview. Becauseruff-shared.tomlusesselect = ["ALL"], the rule armed itself fleet-wide.ruff-shared.tomlfrom the currentlsst/templatesproject_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml, which now ignoresCPY001("No, every single file doesn't need its own copyright notice").Notes
ruff check .passes cleanly.PLR0917(too-many-positional-arguments) insrc/ook/services/ingest/sdmschemas.pyonce the pin is bumped in a future PR; that is expected and tracked separately, out of scope for this config-only change.Jira: DM-55493