mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00

## Summary Adds all `S4XX` rules to the [flake8-bandit](https://github.com/tylerwince/flake8-bandit) plugin port. There is a lot of documentation to write, some tests can be expanded and implementation can probably be refactored to be more compact. As there is some discussion on whether this is actually useful. (See: https://github.com/astral-sh/ruff/issues/1646#issuecomment-1732331441), wanted to check which rules we want to have before I go through the process of polishing this up. ## Test Plan Fixtures for all rules based on `flake8-bandit` [tests](https://github.com/tylerwince/flake8-bandit/tree/main/tests) ## Issue link Refers: https://github.com/astral-sh/ruff/issues/1646
2 lines
79 B
Python
2 lines
79 B
Python
from xml.dom.pulldom import parseString # S409
|
|
import xml.dom.pulldom # S409
|