From c5420820e5309f043f2a749ed8931a1c62e3efca Mon Sep 17 00:00:00 2001 From: Hans-Martin von Gaudecker Date: Thu, 21 Apr 2022 09:15:04 +0200 Subject: [PATCH 1/4] Update README.md That an absolute path is possible is just confusing. Why would one ever do that? Certainly not helpful in the first sentence IMO. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2545245..d88b46e 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ or choose one of the installers on this [page](https://julialang.org/downloads/) ## Usage To create a task which runs a Julia script, define a task function with the -`@pytask.mark.julia` decorator. The `script` keyword provides an absolute path or path +`@pytask.mark.julia` decorator. The `script` keyword provides a path relative to the task module to the Julia script. ```python From c93a2601718adf45d6aff1d9921490e0c06ab28f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Apr 2022 07:15:41 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d88b46e..9d34a2d 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ or choose one of the installers on this [page](https://julialang.org/downloads/) ## Usage To create a task which runs a Julia script, define a task function with the -`@pytask.mark.julia` decorator. The `script` keyword provides a path -relative to the task module to the Julia script. +`@pytask.mark.julia` decorator. The `script` keyword provides a path relative to the +task module to the Julia script. ```python import pytask From df842911295b939b1879d4905080954993eb30ac Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Tue, 25 Oct 2022 13:45:35 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9d34a2d..29b25a7 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ Julia has support for environments to execute your tasks via `Pkg.jl` which is e pytask-julia allows you define a default environment via your [pytask configuration file](https://pytask-dev.readthedocs.io/en/stable/tutorials/configuration.html). -Use the `julia_project` key to define an absolute path or a path relative to your +Use the `julia_project` key to define a path to your configuration file to point to your environment. Probably your environment files `Manifest.toml` and `Project.toml` reside at the root of @@ -138,8 +138,7 @@ julia_project = "." ``` You can also define environments for each task which will overwrite any other default -with the `project` keyword argument. Pass an absolute path or a path relative to the -task module. +with the `project` keyword argument. Pass a path to the task module. ```python @pytask.mark.julia(script="script.jl", project=".") @@ -277,8 +276,7 @@ julia_options = ["--threads", 2] **`julia_project`** -Use this option to set a default environment for each task. Use either a path relative -to the configuration file or an absolute path. If your environment with `Manifest.toml` +Use this option to set a default environment for each task. If your environment with `Manifest.toml` and `Project.toml` is defined in the same directory as the configuration file `pyproject.toml`, just use a dot. From 29a79abeaa987682261eb1285443fcfcc8f30add Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 25 Oct 2022 11:46:23 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 29b25a7..6db1645 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Julia has support for environments to execute your tasks via `Pkg.jl` which is e pytask-julia allows you define a default environment via your [pytask configuration file](https://pytask-dev.readthedocs.io/en/stable/tutorials/configuration.html). -Use the `julia_project` key to define a path to your -configuration file to point to your environment. +Use the `julia_project` key to define a path to your configuration file to point to your +environment. Probably your environment files `Manifest.toml` and `Project.toml` reside at the root of your project folder as well as your pytask configuration file. Then, the content will @@ -276,9 +276,9 @@ julia_options = ["--threads", 2] **`julia_project`** -Use this option to set a default environment for each task. If your environment with `Manifest.toml` -and `Project.toml` is defined in the same directory as the configuration file -`pyproject.toml`, just use a dot. +Use this option to set a default environment for each task. If your environment with +`Manifest.toml` and `Project.toml` is defined in the same directory as the configuration +file `pyproject.toml`, just use a dot. ```toml [tool.pytask.ini_options]