Skip to content

Commit 8a02ffc

Browse files
committed
Allow for .konchrc.local
1 parent fe4efa5 commit 8a02ffc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ celerybeat-schedule
6464
.env
6565

6666
!.konchrc
67+
.konchrc.local

.konchrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ def setup():
4646
context["client"] = connections.get_connection()
4747
context["Metric"] = Metric
4848
konch.config({"context": context})
49+
50+
51+
if os.path.exists(".konchrc.local"):
52+
konch.use_file(".konchrc.local", trust=True)

0 commit comments

Comments
 (0)