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

Introducing ruff as linter and formatter (basic setup) #2921

Merged
merged 10 commits into from
Oct 23, 2024

Conversation

emdneto
Copy link
Member

@emdneto emdneto commented Oct 22, 2024

Description

Same as open-telemetry/opentelemetry-python#4223, but added ruff to eachdist.py utility script as well in lintand format commands.

Closes #2449

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
@emdneto emdneto added build & infra Skip Changelog PRs that do not require a CHANGELOG.md entry labels Oct 22, 2024
@emdneto emdneto requested a review from a team as a code owner October 22, 2024 13:48
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Copy link
Member Author

@emdneto emdneto left a comment

Choose a reason for hiding this comment

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

pyproject.toml Show resolved Hide resolved
Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

This switches opentelemetry from third to first party but LGTM

@lzchen lzchen merged commit 0adc58b into open-telemetry:main Oct 23, 2024
536 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build & infra Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate better tools for linting
8 participants