Sort import orders

This commit is contained in:
xatier 2019-05-27 01:37:40 -07:00 committed by Adrien Vergé
parent fec2c2fba7
commit 43c50379e0
4 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
from setuptools import find_packages, setup
from yamllint import (__author__, __license__,
APP_NAME, APP_VERSION, APP_DESCRIPTION)

View File

@ -16,15 +16,15 @@
from __future__ import print_function
import os
import sys
import platform
import argparse
import os
import platform
import sys
from yamllint import APP_DESCRIPTION, APP_NAME, APP_VERSION
from yamllint import linter
from yamllint.config import YamlLintConfig, YamlLintConfigError
from yamllint.linter import PROBLEM_LEVELS
from yamllint import linter
def find_files_recursively(items):

View File

@ -72,7 +72,7 @@ Use this rule to control the number of spaces before and after colons (``:``).
import yaml
from yamllint.rules.common import spaces_after, spaces_before, is_explicit_key
from yamllint.rules.common import is_explicit_key, spaces_after, spaces_before
ID = 'colons'

View File

@ -193,7 +193,7 @@ Use this rule to control the indentation.
import yaml
from yamllint.linter import LintProblem
from yamllint.rules.common import is_explicit_key, get_real_end_line
from yamllint.rules.common import get_real_end_line, is_explicit_key
ID = 'indentation'