Skip to content

Commit

Permalink
Merge pull request #36 from PeterJCLaw/isort
Browse files Browse the repository at this point in the history
Lint imports with isort
  • Loading branch information
danpalmer committed Jan 9, 2024
2 parents d4a90d0 + e394ddc commit 6bedbb8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 4 deletions.
34 changes: 33 additions & 1 deletion 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
Expand Up @@ -21,6 +21,7 @@ black = "^22.6.0"
flake8 = "^5.0.4"
flake8-black = "^0.3.3"
flake8-github-actions = "^0.1.0"
flake8-isort = "^6.1.1"
pytest = "^7.2.1"
pytest-django = "^4.1.0"
pytest-randomly = "^3.5.0"
Expand Down
2 changes: 1 addition & 1 deletion src/devdata/management/commands/devdata_export.py
Expand Up @@ -7,8 +7,8 @@

from ...engine import (
export_data,
export_migration_state,
export_extras,
export_migration_state,
validate_strategies,
)

Expand Down
2 changes: 1 addition & 1 deletion src/devdata/management/commands/devdata_import.py
Expand Up @@ -8,8 +8,8 @@
from ...engine import (
import_cleanup,
import_data,
import_schema,
import_extras,
import_schema,
validate_strategies,
)
from ...reset_modes import MODES, DropDatabaseReset
Expand Down
2 changes: 1 addition & 1 deletion tests/test_basic.py
@@ -1,7 +1,7 @@
from __future__ import annotations

import json
import datetime
import json

import pytest
from django.db import connections
Expand Down

0 comments on commit 6bedbb8

Please sign in to comment.