diff --git a/setup.cfg b/.flake8 similarity index 79% rename from setup.cfg rename to .flake8 index ee08ef6..cf2b84e 100644 --- a/setup.cfg +++ b/.flake8 @@ -6,6 +6,8 @@ statistics=True exclude=.git, __pycache__, filename=*.py per-file-ignores= + # Disable redefinition warning for exception handlers + hyperglass/hyperglass.py:F811 # Disable string length warnings so I can actually read the commands hyperglass/configuration/models/commands.py:E501,C0301 # Disable string length warnings so I can actually read the messages @@ -19,11 +21,3 @@ disable-noqa=False hang-closing=False max-complexity=10 # format=${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s - -[isort] -line_length = 88 -indent = ' ' -force_single_line = true -import_heading_stdlib = Standard Library Imports -import_heading_thirdparty = Third Party Imports -import_heading_firstparty = Project Imports \ No newline at end of file diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 0000000..fed5425 --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,7 @@ +[settings] +line_length = 88 +indent = ' ' +force_single_line = true +import_heading_stdlib = Standard Library Imports +import_heading_thirdparty = Third Party Imports +import_heading_firstparty = Project Imports \ No newline at end of file