Added rudimentary VSCode launch for development
All checks were successful
ydeng/renamebycsv/pipeline/head This commit looks good
All checks were successful
ydeng/renamebycsv/pipeline/head This commit looks good
This commit is contained in:
parent
f31b1b2705
commit
4094b73f6f
23
.vscode/launch.json
vendored
Normal file
23
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python: Module",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "renamebycsv.cli",
|
||||
"args": [
|
||||
"${workspaceFolder}/tests/resources/files",
|
||||
"group\\d+-\\w-(\\d+)\\.txt",
|
||||
"${workspaceFolder}/tests/resources/groups.csv",
|
||||
"target",
|
||||
"replaced",
|
||||
"-d"
|
||||
],
|
||||
"justMyCode": true
|
||||
}
|
||||
]
|
||||
}
|
1
tests/resources/files/foo.txt
Normal file
1
tests/resources/files/foo.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
2
tests/resources/files/group1-a-12.txt
Normal file
2
tests/resources/files/group1-a-12.txt
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
Text
|
1
tests/resources/files/group1-a-13.txt
Normal file
1
tests/resources/files/group1-a-13.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
1
tests/resources/files/group1-b-10.txt
Normal file
1
tests/resources/files/group1-b-10.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
1
tests/resources/files/group1-b-11.txt
Normal file
1
tests/resources/files/group1-b-11.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
1
tests/resources/files/group1-b-14.txt
Normal file
1
tests/resources/files/group1-b-14.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
1
tests/resources/files/group1-b-9.txt
Normal file
1
tests/resources/files/group1-b-9.txt
Normal file
@ -0,0 +1 @@
|
||||
Text
|
6
tests/resources/groups.csv
Normal file
6
tests/resources/groups.csv
Normal file
@ -0,0 +1,6 @@
|
||||
target,replaced
|
||||
9,a
|
||||
10,b
|
||||
11,c
|
||||
12,d
|
||||
13,e
|
|
Loading…
Reference in New Issue
Block a user