Skip to content

Commit

Permalink
Fix formatter and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
theoctober19th committed Jan 28, 2025
1 parent 6230dc6 commit 50a9257
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
31 changes: 29 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ optional = true

[tool.poetry.group.format.dependencies]
ruff = "^0.8.6"
isort = "^6.0.0"

[tool.poetry.group.lint]
optional = true
Expand Down
3 changes: 2 additions & 1 deletion tests/interface/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import pytest
from charm import AzureStorageIntegratorCharm
from interface_tester import InterfaceTester
from scenario.state import State

from charm import AzureStorageIntegratorCharm


@pytest.fixture
def interface_tester(interface_tester: InterfaceTester):
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ commands_pre =
commands =
poetry install --only format
poetry run ruff format {[vars]all_path}
poetry run isort --profile black {[vars]all_path}

[testenv:lint]
description = Check code against coding style standards
Expand Down

0 comments on commit 50a9257

Please sign in to comment.