Skip to content

Commit

Permalink
Disable isort in pre commit config.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Sep 6, 2023
1 parent 76167a5 commit cdb0dca
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ repos:
- id: black
name: Run black

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
name: Run isort

# - repo: https://github.com/PyCQA/isort
# rev: 5.12.0
# hooks:
# - id: isort
# name: Run isort
#
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.22.0
hooks:
Expand Down
5 changes: 3 additions & 2 deletions core/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

from core.operation.export_analysis_operation import ExportAnalysisOperation
from core.operation.import_from_json_operation import ImportFromJsonOperation
from core.operation.publish_dashboard_from_template import \
PublishDashboardFromTemplateOperation
from core.operation.publish_dashboard_from_template import (
PublishDashboardFromTemplateOperation,
)

log = logging.getLogger("core.cli")

Expand Down
3 changes: 1 addition & 2 deletions core/operation/export_analysis_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import os
from typing import List

from core.operation.baseoperation import (DATA_SET_DIR, TEMPLATE_DIR,
BaseOperation)
from core.operation.baseoperation import DATA_SET_DIR, TEMPLATE_DIR, BaseOperation
from core.util import recursively_replace_value, retry


Expand Down
3 changes: 1 addition & 2 deletions core/operation/import_from_json_operation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json

from core.operation.baseoperation import (DATA_SET_DIR, TEMPLATE_DIR,
BaseOperation)
from core.operation.baseoperation import DATA_SET_DIR, TEMPLATE_DIR, BaseOperation
from core.util import recursively_replace_value


Expand Down
10 changes: 7 additions & 3 deletions tests/core/operation/test_export_analysis_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@

from core.operation.export_analysis_operation import ExportAnalysisOperation
from tests.core.operation.analysis_test_responses import (
create_template_response, describe_data_set_1_response,
describe_data_set_2_response, describe_template_definition_response,
get_analysis_definition_response, get_analysis_description_response)
create_template_response,
describe_data_set_1_response,
describe_data_set_2_response,
describe_template_definition_response,
get_analysis_definition_response,
get_analysis_description_response,
)


class TestExportAnalysisOperation:
Expand Down

0 comments on commit cdb0dca

Please sign in to comment.