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

Ruff: Add and autofix B010 #11953

Merged
merged 3 commits into from
Mar 11, 2025
Merged

Ruff: Add and autofix B010 #11953

merged 3 commits into from
Mar 11, 2025

Conversation

kiblik
Copy link
Contributor

@kiblik kiblik commented Mar 5, 2025

Add set-attr-with-constant (B010) and autofix it

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

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

Approved

Copy link

dryrunsecurity bot commented Mar 11, 2025

DryRun Security Summary

A pull request updates the Ruff linting configuration and modifies a unit test utility method by replacing setattr() with direct attribute assignment.

Expand for full summary

The PR updates the Ruff linting configuration in ruff.toml and modifies a unit test utility method in test_apply_finding_template.py, replacing setattr() with direct attribute assignment. No security vulnerabilities found.

View PR in the DryRun Dashboard.

@mtesauro mtesauro merged commit 7a54950 into DefectDojo:dev Mar 11, 2025
77 checks passed
@kiblik kiblik deleted the ruff/B010 branch March 11, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants