Skip to content

Commit 960ab54

Browse files
committedApr 18, 2023
style: add format checker config that matches FRR style standards
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 <chopps@labn.net>
1 parent 74aad5a commit 960ab54

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed
 

‎.flake8

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore = E203

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
{arch}
8888
build
8989
.cache
90+
.dir-locals.el
9091
.msg
9192
.rebase-*
9293
*~

‎.isort.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[settings]
2+
profile = black

‎.pylintrc

+3
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
init-hook="import sys; sys.path.insert(0, '..')"
33
signature-mutators=common_config.retry,retry
44

5+
[FORMAT]
6+
max-line-length = 88
7+
58
[MESSAGES CONTROL]
69
disable=I,C,R,W
File renamed without changes.

0 commit comments

Comments
 (0)