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 ruff section to pyproject.toml #1390

Merged
merged 3 commits into from Sep 20, 2023
Merged

Add ruff section to pyproject.toml #1390

merged 3 commits into from Sep 20, 2023

Conversation

AdamYoblick
Copy link
Member

@AdamYoblick AdamYoblick commented Sep 19, 2023

Fixes #1361

I've already changed the linter from flake8 to ruff, but ruff is causing build warnings. I've fixed the ruff errors locally through migrating the ignored errors and path exclusions from the old .flake8 file, and I changed the ruff step to now fail the build if the step fails.

edit:

Looks like some checks failed, but the Lint step is the only one I care about, and that step is passing:
https://dev.azure.com/debugpy/debugpy/_build/results?buildId=4084&view=logs&jobId=3a559e2a-952e-58d2-b8db-2e604a9266d7&j=3a559e2a-952e-58d2-b8db-2e604a9266d7&t=6f845a59-a86d-5907-2b45-02c2fb4984eb

My changes could not have caused any other failures, so I'm not worried about those other checks.

@sonarcloud
Copy link

sonarcloud bot commented Sep 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AdamYoblick AdamYoblick merged commit 7d09fb2 into main Sep 20, 2023
24 checks passed
@AdamYoblick AdamYoblick deleted the add_ruff_config branch September 20, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix linter errors from Ruff
2 participants