Skip to content

Commit

Permalink
Merge pull request #20 from adamboche/isort
Browse files Browse the repository at this point in the history
Add isort
  • Loading branch information
probot-auto-merge[bot] committed Jun 9, 2019
2 parents 42dac04 + 29de656 commit 2a444d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ci/appveyor-bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
with various fixes and improvements that just weren't feasible to implement in PowerShell.
"""
from __future__ import print_function

from os import environ
from os.path import exists
from subprocess import check_call


try:
from urllib.request import urlretrieve
except ImportError:
Expand Down
4 changes: 3 additions & 1 deletion ci/bootstrap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals

import os
import sys
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@
directory = "change"
name = "Changes"
showcontent = true


[tool.isort]

force_single_line=true
lines_after_imports=2

not_skip="__init__.py"
known_first_party="marshmallow_union"

0 comments on commit 2a444d4

Please sign in to comment.