forked from mirrors/thatmattlove-hyperglass
move linter & isort configs to separate files
This commit is contained in:
parent
dfd9c78966
commit
38af5da8eb
2 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue