<feed xmlns='http://www.w3.org/2005/Atom'>
<title>taskipy2/tests/test_taskipy.py, branch 1.15.0</title>
<subtitle>task runner for python projects
</subtitle>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/'/>
<entry>
<title>Setup taskipy2 fork from taskipy v1.14.1</title>
<updated>2026-03-20T01:49:08+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>hello@eugenetriguba.com</email>
</author>
<published>2026-03-20T00:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=867c9c02acafe7a0118b6ed7095055efe42fb359'/>
<id>867c9c02acafe7a0118b6ed7095055efe42fb359</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option `cwd` to running tasks (#83)</title>
<updated>2024-08-23T20:59:31+00:00</updated>
<author>
<name>Diogo</name>
<email>rossi.diogo@gmail.com</email>
</author>
<published>2024-08-23T20:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=7cfecafdbd84c0f25b8a6c09a4cef72616968917'/>
<id>7cfecafdbd84c0f25b8a6c09a4cef72616968917</id>
<content type='text'>
* 🎨 chore: removing settings that are deprecated

Reference:
https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions#existing-python-tools-extensions

* 👷 build: add `.venv` folder to `.gitignore`

* ✨ feat: new property 'workdir' for tasks

* 🎨 chore: add "cwd" to error messages

* ✨ feat: new property `dirpath` of `PyProject`

* ✨ feat: new method to get workdir in `TaskRunner`

* 🐞 fix: allow for absolute paths

* 🐞 fix: the task cwd should takes precedence

* 📄 docs: update `README.md`

* Update README.md

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;

* rename variable `working_dir` into `cwd_as_path` to emphasize what it's really used for

suggestion: https://github.com/taskipy/taskipy/pull/83/files#r1676391148

* assert that `cwd` is a string, and throw if it's not

* 👷 build: add settings to test in VSCode

* 🐞 fix: add task exec when testing on windows

* ✅ test: add new `SetCWDTestCase`

* ✅ test: fix error message in test case

* ✏️ typo: in fixture name

* 💄 style: format code

* Update settings.json

---------

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 🎨 chore: removing settings that are deprecated

Reference:
https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions#existing-python-tools-extensions

* 👷 build: add `.venv` folder to `.gitignore`

* ✨ feat: new property 'workdir' for tasks

* 🎨 chore: add "cwd" to error messages

* ✨ feat: new property `dirpath` of `PyProject`

* ✨ feat: new method to get workdir in `TaskRunner`

* 🐞 fix: allow for absolute paths

* 🐞 fix: the task cwd should takes precedence

* 📄 docs: update `README.md`

* Update README.md

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;

* rename variable `working_dir` into `cwd_as_path` to emphasize what it's really used for

suggestion: https://github.com/taskipy/taskipy/pull/83/files#r1676391148

* assert that `cwd` is a string, and throw if it's not

* 👷 build: add settings to test in VSCode

* 🐞 fix: add task exec when testing on windows

* ✅ test: add new `SetCWDTestCase`

* ✅ test: fix error message in test case

* ✏️ typo: in fixture name

* 💄 style: format code

* Update settings.json

---------

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add feature to suggest similar tasks when a task is not found (#78)</title>
<updated>2024-06-16T14:26:57+00:00</updated>
<author>
<name>Carlos Mateus</name>
<email>carlosmatateumateus@gmail.com</email>
</author>
<published>2024-06-16T14:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=b52519437fa214624f6a85debcfefc79e032294f'/>
<id>b52519437fa214624f6a85debcfefc79e032294f</id>
<content type='text'>
* Add feature to suggest similar tasks when a task is not found

* Add test for feature to suggest similar tasks when a task is not found

* Add a test for when a task is not found and there are no suggestions

* Fix lint</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add feature to suggest similar tasks when a task is not found

* Add test for feature to suggest similar tasks when a task is not found

* Add a test for when a task is not found and there are no suggestions

* Fix lint</pre>
</div>
</content>
</entry>
<entry>
<title>GH-63: Fix use_vars task override with project setting (#64)</title>
<updated>2023-07-30T10:44:57+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2023-07-30T10:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=51fe6c6849da2afdce13881a657d49cf7da80e69'/>
<id>51fe6c6849da2afdce13881a657d49cf7da80e69</id>
<content type='text'>
* from now on, the use_vars task-level setting takes priority if it is ever explicitly set. Otherwise, the project-level setting is used
* closes #63</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* from now on, the use_vars task-level setting takes priority if it is ever explicitly set. Otherwise, the project-level setting is used
* closes #63</pre>
</div>
</content>
</entry>
<entry>
<title>gh-32: Fix linting warnings/failures</title>
<updated>2023-04-08T17:32:54+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2023-04-08T17:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=cb15068997415dc587add40784c930557fbfac82'/>
<id>cb15068997415dc587add40784c930557fbfac82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>handle listing tasks when there are no tasks (#52)</title>
<updated>2022-08-31T19:22:08+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2022-08-31T19:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=62b47b6f081f8b22479dca79c29409cb45319e25'/>
<id>62b47b6f081f8b22479dca79c29409cb45319e25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for recursive variables (#44)</title>
<updated>2022-02-10T14:56:27+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2022-02-10T14:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=0b1e3ee299fd0eae0d85637fb469934743bc7c38'/>
<id>0b1e3ee299fd0eae0d85637fb469934743bc7c38</id>
<content type='text'>
* Use `self` in pyproject

* Add support for recursive variables

* Remove duplicate psutil from pyproject

* Tweak implementation based on issue feedback

* Add type hint to vars_dict

* Use `count_of_previously_resolved_vars` name

* Clarify test name

* Revert refactor and use tuple for variable type return

* Add non recursive variable test case

* Alter test case name

* Add recursive variable docs

* Add recursive variables to table of contents

* Use PyProject to access static methods

* Add better handling of invalid variables

* Fix lockfile hash

* Move variable import

* Only resolve variables once if we are using vars

* Fix minor type issue

* Reword error message</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use `self` in pyproject

* Add support for recursive variables

* Remove duplicate psutil from pyproject

* Tweak implementation based on issue feedback

* Add type hint to vars_dict

* Use `count_of_previously_resolved_vars` name

* Clarify test name

* Revert refactor and use tuple for variable type return

* Add non recursive variable test case

* Alter test case name

* Add recursive variable docs

* Add recursive variables to table of contents

* Use PyProject to access static methods

* Add better handling of invalid variables

* Fix lockfile hash

* Move variable import

* Only resolve variables once if we are using vars

* Fix minor type issue

* Reword error message</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `taskipy.variables` table name in error message (#39)</title>
<updated>2022-02-06T11:54:07+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2022-02-06T11:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=e42c3c23fc7ce60b2294307a100167d2b736cd30'/>
<id>e42c3c23fc7ce60b2294307a100167d2b736cd30</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added vars to readme</title>
<updated>2021-09-27T16:36:48+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>royso@wix.com</email>
</author>
<published>2021-09-27T16:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=672c14baf63dfb07d18d1468e97622f972b2a821'/>
<id>672c14baf63dfb07d18d1468e97622f972b2a821</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add variable support (#38)</title>
<updated>2021-09-27T10:12:22+00:00</updated>
<author>
<name>Bernardas Ališauskas</name>
<email>bernardas.alisauskas@pm.me</email>
</author>
<published>2021-09-27T10:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=edde6029745a650696773c30247b97c151079487'/>
<id>edde6029745a650696773c30247b97c151079487</id>
<content type='text'>
* add variable support
* add use_vars task option and make command variables expand only when use_vars is True
* add tests for variable feature
* add setting use_vars as global use_vars for all commands</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add variable support
* add use_vars task option and make command variables expand only when use_vars is True
* add tests for variable feature
* add setting use_vars as global use_vars for all commands</pre>
</div>
</content>
</entry>
<entry>
<title>Only use and install `mslex` on Windows (#36)</title>
<updated>2021-09-07T19:02:34+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2021-09-07T19:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=92dccd0751fe3522095ab2eecb76efc696fb84d4'/>
<id>92dccd0751fe3522095ab2eecb76efc696fb84d4</id>
<content type='text'>
* Fix lint issues where encoding was not specified

* Only use and install mslex on Windows

* Escape backslash in test_windows

* Alter Windows CI name

Since we actually have some tests
other than the path sanity test, it
probably makes sense to just call it
a Windows test now.

* Disable pylint issue with mslex import

It's raising an unable to import issue with
that line, which makes sense since mslex wouldn't
be installed on any other platform other than Windows,
but it also wouldn't be run on any other platform so
it seems to be a non issue.

Co-authored-by: Eugene Triguba &lt;etriguba@sonifi.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix lint issues where encoding was not specified

* Only use and install mslex on Windows

* Escape backslash in test_windows

* Alter Windows CI name

Since we actually have some tests
other than the path sanity test, it
probably makes sense to just call it
a Windows test now.

* Disable pylint issue with mslex import

It's raising an unable to import issue with
that line, which makes sense since mslex wouldn't
be installed on any other platform other than Windows,
but it also wouldn't be run on any other platform so
it seems to be a non issue.

Co-authored-by: Eugene Triguba &lt;etriguba@sonifi.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Allow Declaring Tasks with Descriptions (#35)</title>
<updated>2021-05-16T16:58:38+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2021-05-16T16:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=7160f5f9628a04d42e4ac9ae77c08fa85b52e66f'/>
<id>7160f5f9628a04d42e4ac9ae77c08fa85b52e66f</id>
<content type='text'>
adds the ability to declare tasks explicitly, including command and description text</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
adds the ability to declare tasks explicitly, including command and description text</pre>
</div>
</content>
</entry>
<entry>
<title>Add usage printout when no task is given (#31)</title>
<updated>2021-03-28T20:32:26+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2021-03-28T20:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=40cf72c806f9e05f2a1926848becdaed011b3838'/>
<id>40cf72c806f9e05f2a1926848becdaed011b3838</id>
<content type='text'>
* Add usage printout when no task is given

This addresses issue #30 where 'could not find task "None"'
would be outputted when simply `task` is ran without an task
name.

* Simplify InvalidUsageError's __str__ method

* Ignore pyenv's local python version file

* Update dependencies in lockfile

a.k.a. ran `poetry update`

* Disable W0707 in pylint</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add usage printout when no task is given

This addresses issue #30 where 'could not find task "None"'
would be outputted when simply `task` is ran without an task
name.

* Simplify InvalidUsageError's __str__ method

* Ignore pyenv's local python version file

* Update dependencies in lockfile

a.k.a. ran `poetry update`

* Disable W0707 in pylint</pre>
</div>
</content>
</entry>
<entry>
<title>Find a parent pyproject.toml from a child directory (#28)</title>
<updated>2020-12-25T15:51:33+00:00</updated>
<author>
<name>Tsunenobu Kai</name>
<email>kai2nenobu@gmail.com</email>
</author>
<published>2020-12-25T15:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=5aaeb1298987265e312cd4318bea82cade39f085'/>
<id>5aaeb1298987265e312cd4318bea82cade39f085</id>
<content type='text'>
Enable running tasks defined in parent pyproject.toml from a child directory.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable running tasks defined in parent pyproject.toml from a child directory.</pre>
</div>
</content>
</entry>
<entry>
<title>Support Windows-Style Paths (#27)</title>
<updated>2020-11-27T22:56:16+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2020-11-27T22:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=a77e37f2f02e22f341f2221036bcdac6647807f3'/>
<id>a77e37f2f02e22f341f2221036bcdac6647807f3</id>
<content type='text'>
use mslex instead of shlex when running on windows.
added a new windows sanity ci test.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use mslex instead of shlex when running on windows.
added a new windows sanity ci test.</pre>
</div>
</content>
</entry>
<entry>
<title>Add -l option for taskipy list command (#24)</title>
<updated>2020-11-24T21:32:58+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2020-11-24T21:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=56984a34b03c5b87d8bad69e6f169d176b7c4a55'/>
<id>56984a34b03c5b87d8bad69e6f169d176b7c4a55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed tests on macos</title>
<updated>2020-10-08T19:44:19+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>royso@wix.com</email>
</author>
<published>2020-10-08T19:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=3654b24a445fd9a4c1d2326c0058e9c1a36219ab'/>
<id>3654b24a445fd9a4c1d2326c0058e9c1a36219ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update test_taskipy.py</title>
<updated>2020-10-07T08:38:39+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2020-10-07T08:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=3bf517b8e2f03c1c484f7b9c5fb450e6a956bbb5'/>
<id>3bf517b8e2f03c1c484f7b9c5fb450e6a956bbb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add list command which lists tasks (#21)</title>
<updated>2020-10-07T08:37:44+00:00</updated>
<author>
<name>Bernardas Ališauskas</name>
<email>bernardas.alisauskas@pm.me</email>
</author>
<published>2020-10-07T08:37:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=ff080abe550af90a8445332058434743ee7529c7'/>
<id>ff080abe550af90a8445332058434743ee7529c7</id>
<content type='text'>
* add list command which lists tasks

* refactor list argument as a flag

add tests and readme for --list flag

* more tests

* Update tests/test_taskipy.py

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;

* refactor listing to taskrunner

fix tests and cli to handle --list following arguments cases

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add list command which lists tasks

* refactor list argument as a flag

add tests and readme for --list flag

* more tests

* Update tests/test_taskipy.py

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;

* refactor listing to taskrunner

fix tests and cli to handle --list following arguments cases

Co-authored-by: Roy Sommer &lt;illBeRoy@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Propagate SIGTERM to child processes (#19)</title>
<updated>2020-08-07T22:52:47+00:00</updated>
<author>
<name>RobinFrcd</name>
<email>29704178+RobinFrcd@users.noreply.github.com</email>
</author>
<published>2020-08-07T22:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=3a0362a6028b949016cd2a67bbeeab9b8d8bf50c'/>
<id>3a0362a6028b949016cd2a67bbeeab9b8d8bf50c</id>
<content type='text'>
SIGTERM sent to taskipy are handed over to task subprocess</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SIGTERM sent to taskipy are handed over to task subprocess</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor taskipy into Task, PyProject, and TaskRunner (#15)</title>
<updated>2020-06-14T22:06:23+00:00</updated>
<author>
<name>Eugene Triguba</name>
<email>eugenetriguba@gmail.com</email>
</author>
<published>2020-06-14T22:06:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=89500fba9009efedd42b7a3b5e5197f12419d8a4'/>
<id>89500fba9009efedd42b7a3b5e5197f12419d8a4</id>
<content type='text'>
* Run `poetry update`

* Sort test imports &amp; convert unused f strings to strings

There were some f strings that weren't interpolating anything.

* Create custom exceptions

* Refactor taskipi package into task, pyproject, and task_runner

* Add docstrings &amp; types to task &amp; task_runner.

Also, a small refactoring of __bail_on_first_fail()
in task_runner.py.

* Remove docstrings

* Add MissingTaskipySettingsSectionError

* Make path &amp; items in PyProject private

* Check runner is string rather than catching AttributeError

* Add default exception case to cli

* Add exit_code class variable to exceptions

* Change PyProject to take in the file_path

This also converts the instance variables to be private
and has __load_toml_file convert the file_path to a Path
if it is a str. We also no longer store the file_path
since __load_toml_file is the only place it is needed
so it is just passed in.

* Task now builds the commands &amp; takes in args + project

I think args could possibly be moved over to commands
since that is the only place it is used and that would
reduce the amount of things we are passing in to Task.
commands would just have to be converted to a method instead
of a property then.

* TaskRunner only runs the commands now with the project passed in

Instead of putting the commands together, that is now delegated
to Task. The run_commands_and_bail_on_first_fail method is now
gone as that is what `run` does now. Furthermore, the instance
variables of TaskRunner are private now. A single instance of the
TaskRunner can now run many tasks now, since it is not tied to
any particular task.

* Update cli to use updated TaskRunner

The pyproject.toml path is now passed in
with the command name and args being passed
to `run`.

* Use single quotes

* Extract pre_task &amp; post_task to use __find_hooks

They are basically the same method, with a one word
difference.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Run `poetry update`

* Sort test imports &amp; convert unused f strings to strings

There were some f strings that weren't interpolating anything.

* Create custom exceptions

* Refactor taskipi package into task, pyproject, and task_runner

* Add docstrings &amp; types to task &amp; task_runner.

Also, a small refactoring of __bail_on_first_fail()
in task_runner.py.

* Remove docstrings

* Add MissingTaskipySettingsSectionError

* Make path &amp; items in PyProject private

* Check runner is string rather than catching AttributeError

* Add default exception case to cli

* Add exit_code class variable to exceptions

* Change PyProject to take in the file_path

This also converts the instance variables to be private
and has __load_toml_file convert the file_path to a Path
if it is a str. We also no longer store the file_path
since __load_toml_file is the only place it is needed
so it is just passed in.

* Task now builds the commands &amp; takes in args + project

I think args could possibly be moved over to commands
since that is the only place it is used and that would
reduce the amount of things we are passing in to Task.
commands would just have to be converted to a method instead
of a property then.

* TaskRunner only runs the commands now with the project passed in

Instead of putting the commands together, that is now delegated
to Task. The run_commands_and_bail_on_first_fail method is now
gone as that is what `run` does now. Furthermore, the instance
variables of TaskRunner are private now. A single instance of the
TaskRunner can now run many tasks now, since it is not tied to
any particular task.

* Update cli to use updated TaskRunner

The pyproject.toml path is now passed in
with the command name and args being passed
to `run`.

* Use single quotes

* Extract pre_task &amp; post_task to use __find_hooks

They are basically the same method, with a one word
difference.</pre>
</div>
</content>
</entry>
<entry>
<title>Passed Arguments Are Escaped Properly (#12)</title>
<updated>2020-03-20T23:11:44+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2020-03-20T23:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=cae9e34aed733cde4cdf9d62dddfe6ee08e564c4'/>
<id>cae9e34aed733cde4cdf9d62dddfe6ee08e564c4</id>
<content type='text'>
passed arguments are now escaped properly. can pass arguments with spaces.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
passed arguments are now escaped properly. can pass arguments with spaces.</pre>
</div>
</content>
</entry>
<entry>
<title>Custom Runner (#11)</title>
<updated>2020-03-07T14:52:12+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2020-03-07T14:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=58a199d1313bf52cc74776fbde0bef245ba72329'/>
<id>58a199d1313bf52cc74776fbde0bef245ba72329</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore SIGINT While Running Tasks (#8)</title>
<updated>2020-02-01T15:11:46+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>illBeRoy@users.noreply.github.com</email>
</author>
<published>2020-02-01T15:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=f6248d4521a4a23d58137058cd400af4fef33af7'/>
<id>f6248d4521a4a23d58137058cd400af4fef33af7</id>
<content type='text'>
fix: sigint is now ignored by taskipy process, reflects output of task instead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: sigint is now ignored by taskipy process, reflects output of task instead</pre>
</div>
</content>
</entry>
<entry>
<title>added support for passing arguments into taskipy tasks</title>
<updated>2020-01-02T17:12:08+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>royso@wix.com</email>
</author>
<published>2020-01-02T17:12:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=b7c1dc794d4e4faa068594139e945fbeac7b02b5'/>
<id>b7c1dc794d4e4faa068594139e945fbeac7b02b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>renaming</title>
<updated>2019-12-22T22:13:27+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>roy@sommer.co.il</email>
</author>
<published>2019-12-22T22:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a'/>
<id>4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>v1.0.0</title>
<updated>2019-12-22T22:08:21+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>roy@sommer.co.il</email>
</author>
<published>2019-12-22T22:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=51036248bd00d84f684e60ec5f7a2da6d10ee0d0'/>
<id>51036248bd00d84f684e60ec5f7a2da6d10ee0d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>initial commit</title>
<updated>2019-12-22T21:09:38+00:00</updated>
<author>
<name>Roy Sommer</name>
<email>roy@sommer.co.il</email>
</author>
<published>2019-12-22T21:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.eugenetriguba.com/taskipy/taskipy2/commit/?id=ea898f7bf45ca0f8667bd76d6718c6fff9961bd3'/>
<id>ea898f7bf45ca0f8667bd76d6718c6fff9961bd3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
