@@ -133,7 +133,7 @@ your project folder as well as your pytask configuration file. Then, the content
133
133
look like this.
134
134
135
135
``` toml
136
- [pytask ]
136
+ [tool . pytask . ini_options ]
137
137
julia_project = " ."
138
138
```
139
139
@@ -245,12 +245,14 @@ def task_example():
245
245
### Configuration
246
246
247
247
You can influence the default behavior of pytask-julia with some configuration values.
248
+ Place them into a ` pyproject.toml ` file.
248
249
249
250
** ` julia_serializer ` **
250
251
251
252
Use this option to change the default serializer.
252
253
253
254
``` toml
255
+ [tool .pytask .ini_options ]
254
256
julia_serializer = " json"
255
257
```
256
258
@@ -260,6 +262,7 @@ Use this option to set the default suffix of the file which contains serialized
260
262
dependencies and products and more.
261
263
262
264
``` toml
265
+ [tool .pytask .ini_options ]
263
266
julia_suffix = " .json"
264
267
```
265
268
@@ -268,6 +271,7 @@ julia_suffix = ".json"
268
271
Use this option to set default options for each task which are separated by whitespace.
269
272
270
273
``` toml
274
+ [tool .pytask .ini_options ]
271
275
julia_options = [" --threads" , 2 ]
272
276
```
273
277
@@ -279,13 +283,15 @@ and `Project.toml` is defined in the same directory as the configuration file
279
283
` pyproject.toml ` , just use a dot.
280
284
281
285
``` toml
286
+ [tool .pytask .ini_options ]
282
287
julia_project = " ."
283
288
```
284
289
285
290
If the environment files were in a folder next to the configuration file called
286
291
` environment ` use
287
292
288
293
``` toml
294
+ [tool .pytask .ini_options ]
289
295
julia_project = " environment"
290
296
```
291
297
0 commit comments