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:
@@ -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
7
.isort.cfg
Normal 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
|
Reference in New Issue
Block a user