1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

move linter & isort configs to separate files

This commit is contained in:
checktheroads
2020-01-20 00:38:26 -07:00
parent dfd9c78966
commit 38af5da8eb
2 changed files with 9 additions and 8 deletions

View File

@@ -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

7
.isort.cfg Normal file
View File

@@ -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