This repository was archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdodo.py
More file actions
28 lines (24 loc) · 1.26 KB
/
Copy pathdodo.py
File metadata and controls
28 lines (24 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""DoIt Script. Run all tasks with `poetry run doit` or single task with `poetry run doit run update_cl`."""
from pathlib import Path
from dash_dev.doit_base import DIG, task_check_req, task_export_req # noqa: F401
from dash_dev.doit_doc import (task_commit_docs, task_create_tag, task_document, task_open_docs, # noqa: F401
task_remove_tag, task_update_cl)
from dash_dev.doit_lint import task_lint # noqa: F401
from dash_dev.doit_test import (task_coverage, task_open_test_docs, task_test, task_test_keyword, # noqa: F401
task_test_marker)
# Configure Dash paths
DIG.set_paths(Path(__file__).parent)
# Create list of all tasks run with `poetry run doit`
DOIT_CONFIG = {
'action_string_formatting': 'old', # Required for keyword-based tasks
'default_tasks': [
# 'export_req', 'check_req', 'update_cl', # Comment on/off as needed
# 'lint', # Comment on/off as needed
'coverage', # Comment on/off as needed
'open_test_docs', # Comment on/off as needed
'document', # Comment on/off as needed
'open_docs', # Comment on/off as needed
# 'commit_docs', # Comment on/off as needed
],
}
"""DoIt Configuration Settings. Run with `poetry run doit`."""