Skip to content

Commit

Permalink
Apply isort with appropriate arguments before running black
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Oct 29, 2018
1 parent 0bb9d3a commit 03171a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bowler/tests/smoke.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env python3

import logging

from pathlib import Path
from unittest import TestCase

from fissix.fixer_util import Call, Name
from ..types import TOKEN

from ..query import Query
from ..types import TOKEN


class SmokeTest(TestCase):
Expand Down
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ release: lint test clean
python3 -m twine upload dist/*

format:
isort --recursive --multi-line=3 --trailing-comma --force-grid-wrap=0 \
--combine-as --line-width=88 -y bowler setup.py
black bowler setup.py
isort

lint:
black --check bowler setup.py
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from setuptools import setup, find_packages
from setuptools import find_packages, setup

with open("README.md") as f:
readme = f.read()
Expand Down

0 comments on commit 03171a3

Please sign in to comment.