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

chore: Add pyproject.toml configuration to ruff format command in Makefile #4714

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

ogabrielluiz
Copy link
Contributor

@ogabrielluiz ogabrielluiz commented Nov 19, 2024

This PR updates the Makefile to include a configuration flag for ruff commands, allowing them to utilize the pyproject.toml file for settings. This change enhances the flexibility and maintainability of the code formatting and linting processes.

I did not add to check because there are a lot of errors so we should do it in a separate PR.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 19, 2024
@ogabrielluiz ogabrielluiz requested a review from Copilot November 19, 2024 18:10

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 3 changed files in this pull request and generated no suggestions.

Files not reviewed (1)
  • Makefile: Language not supported
Copy link

codspeed-hq bot commented Nov 19, 2024

CodSpeed Performance Report

Merging #4714 will not alter performance

Comparing add-flags-uv (9d90fc9) with main (9e8715c)

Summary

✅ 15 untouched benchmarks

@ogabrielluiz ogabrielluiz changed the title chore: Add pyproject.toml configuration to ruff commands in Makefile chore: Add pyproject.toml configuration to ruff format command in Makefile Nov 19, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 19, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) November 19, 2024 18:49
@ogabrielluiz ogabrielluiz merged commit fb83af2 into main Nov 19, 2024
20 checks passed
@ogabrielluiz ogabrielluiz deleted the add-flags-uv branch November 19, 2024 19:06
mieslep pushed a commit to mieslep/langflow that referenced this pull request Nov 22, 2024
…efile (langflow-ai#4714)

* Add pyproject.toml config flag to ruff commands in Makefile

* Update ruff exclude path in pyproject.toml

* Remove unused TYPE_CHECKING import from api_key.py

* Remove redundant config flag from 'ruff check' command in Makefile
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…efile (langflow-ai#4714)

* Add pyproject.toml config flag to ruff commands in Makefile

* Update ruff exclude path in pyproject.toml

* Remove unused TYPE_CHECKING import from api_key.py

* Remove redundant config flag from 'ruff check' command in Makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants