Skip to content

add more PEP8 rules from preview for ruff config#679

Merged
Tishka17 merged 6 commits into
reagento:developfrom
chirizxc:__ruff
Mar 6, 2026
Merged

add more PEP8 rules from preview for ruff config#679
Tishka17 merged 6 commits into
reagento:developfrom
chirizxc:__ruff

Conversation

@chirizxc

@chirizxc chirizxc commented Mar 3, 2026

Copy link
Copy Markdown
Member

@github-actions

github-actions Bot commented Mar 3, 2026

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/dishka
  async_container.py 356
  container.py
  exceptions.py
  src/dishka/code_tools
  factory_compiler.py
  src/dishka/dependency_source
  factory.py
  src/dishka/entities
  depends_marker.py 11, 15-17
  src/dishka/graph_builder
  builder.py
  src/dishka/integrations
  base.py
  celery.py
  litestar.py
  src/dishka/plotter
  mermaid.py 43
  transform.py
  src/dishka/provider
  provider.py
  src/dishka/text_rendering
  path.py
Project Total  

This report was generated by python-coverage-comment-action

@sonarqubecloud

sonarqubecloud Bot commented Mar 3, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
12.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Comment thread .ruff.toml

[lint]
# Disable `typing_extensions` imports
typing-extensions = false

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Почему?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

это уже было

Comment thread .ruff.toml
lint.select = [
"ALL"

[lint]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[tool.ruff.format]
preview = true

Не хочешь сразу добавить?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

тишка не хочет форматтер

@Tishka17
Tishka17 merged commit 05f6b1d into reagento:develop Mar 6, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants