mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-29 02:23:48 -06:00
Sort import orders
This commit is contained in:
parent
fec2c2fba7
commit
43c50379e0
2
setup.py
2
setup.py
@ -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)
|
||||
|
@ -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):
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user