Skip to content

Commit 2266f11

Browse files
committed
docs
1 parent d25d4da commit 2266f11

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

nbs/12_tools.ipynb

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,32 @@
170170
" return p"
171171
]
172172
},
173+
{
174+
"cell_type": "markdown",
175+
"id": "6d3ba750",
176+
"metadata": {},
177+
"source": [
178+
"You can add valid paths here:"
179+
]
180+
},
181+
{
182+
"cell_type": "code",
183+
"execution_count": null,
184+
"id": "26af784b",
185+
"metadata": {},
186+
"outputs": [
187+
{
188+
"name": "stdout",
189+
"output_type": "stream",
190+
"text": [
191+
"/Users/jhoward/.config/fc_tools_paths\n"
192+
]
193+
}
194+
],
195+
"source": [
196+
"print(xdg_config_home() / 'fc_tools_paths')"
197+
]
198+
},
173199
{
174200
"cell_type": "code",
175201
"execution_count": null,
@@ -180,7 +206,7 @@
180206
"assert valid_path('.')\n",
181207
"assert valid_path('/tmp')\n",
182208
"\n",
183-
"test_fail(lambda: valid_path('..'), exc=PermissionError)"
209+
"test_fail(lambda: valid_path('../../..'), exc=PermissionError)"
184210
]
185211
},
186212
{

0 commit comments

Comments
 (0)