Skip to content

Commit

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

* more configuration

* isort executed
  • Loading branch information
exxamalte committed Jun 7, 2021
1 parent 5ea3edc commit 7e31f5c
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
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_qld_bushfire_alert_client/__init__.py
Expand Up @@ -3,7 +3,7 @@
Fetches GeoRSS feed from Queensland Bushfire Alert Feed.
"""
from georss_client import GeoRssFeed, FeedEntry, ATTR_ATTRIBUTION
from georss_client import ATTR_ATTRIBUTION, 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
@@ -1,2 +1,6 @@
[tool.black]
target-version = ['py36', 'py37', 'py38']

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

from georss_client import UPDATE_OK

from georss_qld_bushfire_alert_client import (
QldBushfireAlertFeed,
QldBushfireAlertFeedManager,
Expand Down

0 comments on commit 7e31f5c

Please sign in to comment.