Skip to content

Commit

Permalink
Migrated to isort (#6)
Browse files Browse the repository at this point in the history
* isort configuration

* isort executed
  • Loading branch information
exxamalte committed Jun 9, 2021
1 parent 355909d commit 28a94b4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ repos:
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
- id: isort
2 changes: 1 addition & 1 deletion georss_tfs_incidents_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Fetches GeoRSS feed from Tasmania Fire Service Incidents Feed.
"""
from georss_client import GeoRssFeed, FeedEntry
from georss_client import FeedEntry, GeoRssFeed
from georss_client.consts import CUSTOM_ATTRIBUTE
from georss_client.feed_manager import FeedManagerBase

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[tool.black]
target-version = ['py36', 'py37', 'py38']

[tool.isort]
profile = "black"
src_paths = ["georss_tfs_incidents_client", "tests"]
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from unittest import mock

from georss_client import UPDATE_OK

from georss_tfs_incidents_client import TfsIncidentsFeed, TfsIncidentsFeedManager
from tests import load_fixture

Expand Down

0 comments on commit 28a94b4

Please sign in to comment.