Skip to content

Commit

Permalink
style: add format checker config that matches FRR style standards
Browse files Browse the repository at this point in the history
Also move .dir-locals.el to a sample file. This file should not be
in the repository as it affects the user's ability to modify it.

Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Apr 18, 2023
1 parent 74aad5a commit 960ab54
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
{arch}
build
.cache
.dir-locals.el
.msg
.rebase-*
*~
Expand Down
2 changes: 2 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[settings]
profile = black
3 changes: 3 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
init-hook="import sys; sys.path.insert(0, '..')"
signature-mutators=common_config.retry,retry

[FORMAT]
max-line-length = 88

[MESSAGES CONTROL]
disable=I,C,R,W
File renamed without changes.

0 comments on commit 960ab54

Please sign in to comment.