Commit e4512b3
authored
MPT-17125 Fix failure for dependabot in pyproject file - incorrect flake8-import-conventions (#195)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Closes [MPT-17125](https://softwareone.atlassian.net/browse/MPT-17125)
## Release Notes
- Restructured `pyproject.toml` flake8 plugin configuration from flat
top-level keys to nested sections under `[tool.ruff.lint.*]`
- Updated `flake8-import-conventions.banned-from` to include both "ast"
and "datetime"
- Organized lint rules into dedicated nested sections:
- `[tool.ruff.lint.flake8-import-conventions]` with banned-from and
aliases
- `[tool.ruff.lint.flake8-quotes]` with inline-quotes configuration
- `[tool.ruff.lint.mccabe]` with max-complexity setting
- `[tool.ruff.lint.pydocstyle]` with convention configuration
- Added `[tool.ruff.lint.per-file-ignores]` to preserve per-file ignore
rules for tests
- Migrates configuration to structured Ruff format to resolve dependabot
compatibility issues
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
[MPT-17125]:
https://softwareone.atlassian.net/browse/MPT-17125?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
| |||
0 commit comments