fix flake8 issues

This commit is contained in:
Robert Kaussow 2019-10-16 00:37:39 +02:00
parent 36bc78d1fd
commit a8e05aa0bc
4 changed files with 24 additions and 24 deletions

View File

@ -18,13 +18,13 @@ from ansiblelater.rules.rolefiles import check_scm_in_src
from ansiblelater.rules.taskfiles import check_line_between_tasks from ansiblelater.rules.taskfiles import check_line_between_tasks
from ansiblelater.rules.yamlfiles import check_native_yaml from ansiblelater.rules.yamlfiles import check_native_yaml
from ansiblelater.rules.yamlfiles import check_yaml_colons from ansiblelater.rules.yamlfiles import check_yaml_colons
from ansiblelater.rules.yamlfiles import check_yaml_document_end
from ansiblelater.rules.yamlfiles import check_yaml_document_start from ansiblelater.rules.yamlfiles import check_yaml_document_start
from ansiblelater.rules.yamlfiles import check_yaml_empty_lines from ansiblelater.rules.yamlfiles import check_yaml_empty_lines
from ansiblelater.rules.yamlfiles import check_yaml_file from ansiblelater.rules.yamlfiles import check_yaml_file
from ansiblelater.rules.yamlfiles import check_yaml_has_content from ansiblelater.rules.yamlfiles import check_yaml_has_content
from ansiblelater.rules.yamlfiles import check_yaml_hyphens from ansiblelater.rules.yamlfiles import check_yaml_hyphens
from ansiblelater.rules.yamlfiles import check_yaml_indent from ansiblelater.rules.yamlfiles import check_yaml_indent
from ansiblelater.rules.yamlfiles import check_yaml_document_end
from ansiblelater.standard import Standard from ansiblelater.standard import Standard
tasks_should_be_separated = Standard(dict( tasks_should_be_separated = Standard(dict(

View File

@ -1,27 +1,25 @@
from ansiblelater import Standard from ansiblelater import Standard
from ansiblelater.rules.ansiblefiles import check_braces_spaces
from ansiblelater.rules.yamlfiles import check_yaml_empty_lines from ansiblelater.rules.ansiblefiles import check_command_has_changes
from ansiblelater.rules.yamlfiles import check_yaml_indent from ansiblelater.rules.ansiblefiles import check_command_instead_of_module
from ansiblelater.rules.yamlfiles import check_yaml_hyphens from ansiblelater.rules.ansiblefiles import check_compare_to_literal_bool
from ansiblelater.rules.yamlfiles import check_yaml_document_start from ansiblelater.rules.ansiblefiles import check_empty_string_compare
from ansiblelater.rules.yamlfiles import check_yaml_colons from ansiblelater.rules.ansiblefiles import check_install_use_latest
from ansiblelater.rules.yamlfiles import check_yaml_file from ansiblelater.rules.ansiblefiles import check_name_format
from ansiblelater.rules.yamlfiles import check_yaml_has_content from ansiblelater.rules.ansiblefiles import check_named_task
from ansiblelater.rules.yamlfiles import check_native_yaml from ansiblelater.rules.ansiblefiles import check_shell_instead_command
from ansiblelater.rules.taskfiles import check_line_between_tasks from ansiblelater.rules.ansiblefiles import check_unique_named_task
from ansiblelater.rules.rolefiles import check_meta_main from ansiblelater.rules.rolefiles import check_meta_main
from ansiblelater.rules.rolefiles import check_scm_in_src from ansiblelater.rules.rolefiles import check_scm_in_src
from ansiblelater.rules.ansiblefiles import check_unique_named_task from ansiblelater.rules.taskfiles import check_line_between_tasks
from ansiblelater.rules.ansiblefiles import check_named_task from ansiblelater.rules.yamlfiles import check_native_yaml
from ansiblelater.rules.ansiblefiles import check_name_format from ansiblelater.rules.yamlfiles import check_yaml_colons
from ansiblelater.rules.ansiblefiles import check_braces_spaces from ansiblelater.rules.yamlfiles import check_yaml_document_start
from ansiblelater.rules.ansiblefiles import check_command_instead_of_module from ansiblelater.rules.yamlfiles import check_yaml_empty_lines
from ansiblelater.rules.ansiblefiles import check_install_use_latest from ansiblelater.rules.yamlfiles import check_yaml_file
from ansiblelater.rules.ansiblefiles import check_shell_instead_command from ansiblelater.rules.yamlfiles import check_yaml_has_content
from ansiblelater.rules.ansiblefiles import check_command_has_changes from ansiblelater.rules.yamlfiles import check_yaml_hyphens
from ansiblelater.rules.ansiblefiles import check_empty_string_compare from ansiblelater.rules.yamlfiles import check_yaml_indent
from ansiblelater.rules.ansiblefiles import check_compare_to_literal_bool
tasks_should_be_separated = Standard(dict( tasks_should_be_separated = Standard(dict(
id="ANSIBLE0001", id="ANSIBLE0001",

View File

@ -10,7 +10,8 @@ default_section = THIRDPARTY
known_first_party = ansiblelater known_first_party = ansiblelater
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
force_single_line = true force_single_line = true
line_length = 100 line_length = 110
skip_glob = **/.env/*
[tool:pytest] [tool:pytest]
filterwarnings = filterwarnings =

View File

@ -5,7 +5,8 @@ import io
import os import os
import re import re
from setuptools import find_packages, setup from setuptools import find_packages
from setuptools import setup
PACKAGE_NAME = "ansiblelater" PACKAGE_NAME = "ansiblelater"