taskcheck 1.5.1__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {taskcheck-1.5.1/taskcheck.egg-info → taskcheck-1.5.2}/PKG-INFO +1 -1
- {taskcheck-1.5.1 → taskcheck-1.5.2}/pyproject.toml +1 -1
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/__main__.py +1 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2/taskcheck.egg-info}/PKG-INFO +1 -1
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_main.py +3 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/LICENSE +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/README.md +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/setup.cfg +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/common.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/dry_run.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/google_calendar.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/ical.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/install.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/parallel.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/report.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/theme.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/timeline.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck/undo.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck.egg-info/SOURCES.txt +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck.egg-info/dependency_links.txt +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck.egg-info/entry_points.txt +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck.egg-info/requires.txt +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/taskcheck.egg-info/top_level.txt +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_common.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_google_calendar.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_ical.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_install.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_parallel.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_report.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_timeline.py +0 -0
- {taskcheck-1.5.1 → taskcheck-1.5.2}/tests/test_undo.py +0 -0
|
@@ -63,6 +63,7 @@ arg_parser.add_argument(
|
|
|
63
63
|
help="Weight for urgency in scheduling (0.0 to 1.0), overrides config value. When 1.0, the whole Taskwarrior urgency is used for scheduling. When 0.0, the Taskwarrior urgency is reduced to only due urgency.",
|
|
64
64
|
)
|
|
65
65
|
arg_parser.add_argument(
|
|
66
|
+
"-d",
|
|
66
67
|
"--dry-run",
|
|
67
68
|
action="store_true",
|
|
68
69
|
help="Perform scheduling without modifying the Taskwarrior database, useful for testing.",
|
|
@@ -101,6 +101,9 @@ class TestArgumentParsing:
|
|
|
101
101
|
args = arg_parser.parse_args(["--dry-run"])
|
|
102
102
|
assert args.dry_run is True
|
|
103
103
|
|
|
104
|
+
args = arg_parser.parse_args(["-d"])
|
|
105
|
+
assert args.dry_run is True
|
|
106
|
+
|
|
104
107
|
args = arg_parser.parse_args([])
|
|
105
108
|
assert args.dry_run is False
|
|
106
109
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|