Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
f2072530
Commit
f2072530
authored
Jan 04, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dot' into dot/master
parents
7a8220a7
b16b9783
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
15 deletions
+15
-15
test/facilities.py
test/facilities.py
+1
-1
test/test_json_printer.py
test/test_json_printer.py
+1
-1
topydo/commands/DepCommand.py
topydo/commands/DepCommand.py
+2
-2
topydo/commands/DoCommand.py
topydo/commands/DoCommand.py
+1
-1
topydo/commands/ListCommand.py
topydo/commands/ListCommand.py
+4
-4
topydo/lib/Command.py
topydo/lib/Command.py
+1
-1
topydo/lib/DCommand.py
topydo/lib/DCommand.py
+1
-1
topydo/lib/TodoListBase.py
topydo/lib/TodoListBase.py
+1
-1
topydo/lib/printers/Dot.py
topydo/lib/printers/Dot.py
+1
-1
topydo/lib/printers/Ical.py
topydo/lib/printers/Ical.py
+1
-1
topydo/lib/printers/Json.py
topydo/lib/printers/Json.py
+1
-1
topydo/lib/printers/PrettyPrinter.py
topydo/lib/printers/PrettyPrinter.py
+0
-0
topydo/lib/printers/__init__.py
topydo/lib/printers/__init__.py
+0
-0
No files found.
test/facilities.py
View file @
f2072530
...
...
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
topydo.lib.PrettyPrinter
import
PrettyPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
PrettyPrinter
from
topydo.lib.Todo
import
Todo
from
topydo.lib.TodoFile
import
TodoFile
from
topydo.lib.TodoList
import
TodoList
...
...
test/test_json_printer.py
View file @
f2072530
...
...
@@ -17,7 +17,7 @@
import
unittest
from
test.topydo_testcase
import
TopydoTest
from
topydo.lib.
JsonPrinter
import
JsonPrinter
from
topydo.lib.
printers.Json
import
JsonPrinter
from
topydo.lib.Todo
import
Todo
...
...
topydo/commands/DepCommand.py
View file @
f2072530
...
...
@@ -17,8 +17,8 @@
from
topydo.lib
import
Filter
from
topydo.lib.Command
import
Command
,
InvalidCommandArgument
from
topydo.lib.Config
import
config
from
topydo.lib.
DotPrinter
import
DotPrinter
from
topydo.lib.PrettyPrinter
import
pretty_printer_factory
from
topydo.lib.
printers.Dot
import
DotPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
pretty_printer_factory
from
topydo.lib.Sorter
import
Sorter
from
topydo.lib.TodoListBase
import
InvalidTodoException
from
topydo.lib.View
import
View
...
...
topydo/commands/DoCommand.py
View file @
f2072530
...
...
@@ -17,7 +17,7 @@
from
datetime
import
date
from
topydo.lib.DCommand
import
DCommand
from
topydo.lib.PrettyPrinter
import
PrettyPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
PrettyPrinter
from
topydo.lib.prettyprinters.Numbers
import
PrettyPrinterNumbers
from
topydo.lib.Recurrence
import
NoRecurrenceException
,
advance_recurring_todo
from
topydo.lib.RelativeDate
import
relative_date_to_date
...
...
topydo/commands/ListCommand.py
View file @
f2072530
...
...
@@ -17,7 +17,7 @@
from
topydo.lib.Config
import
config
from
topydo.lib.ExpressionCommand
import
ExpressionCommand
from
topydo.lib.Filter
import
InstanceFilter
from
topydo.lib.PrettyPrinter
import
pretty_printer_factory
from
topydo.lib.
printers.
PrettyPrinter
import
pretty_printer_factory
from
topydo.lib.prettyprinters.Format
import
PrettyPrinterFormatFilter
from
topydo.lib.TodoListBase
import
InvalidTodoException
...
...
@@ -59,18 +59,18 @@ class ListCommand(ExpressionCommand):
self
.
sort_expression
=
value
elif
opt
==
'-f'
:
if
value
==
'json'
:
from
topydo.lib.
JsonPrinter
import
JsonPrinter
from
topydo.lib.
printers.Json
import
JsonPrinter
self
.
printer
=
JsonPrinter
()
elif
value
==
'ical'
:
if
self
.
_poke_icalendar
():
from
topydo.lib.
IcalPrinter
import
IcalPrinter
from
topydo.lib.
printers.Ical
import
IcalPrinter
self
.
printer
=
IcalPrinter
(
self
.
todolist
)
# a graph without dependencies is not so useful, hence
# show all
self
.
show_all
=
True
elif
value
==
'dot'
:
from
topydo.lib.
DotPrinter
import
DotPrinter
from
topydo.lib.
printers.Dot
import
DotPrinter
self
.
printer
=
DotPrinter
(
self
.
todolist
)
else
:
self
.
printer
=
None
...
...
topydo/lib/Command.py
View file @
f2072530
...
...
@@ -16,7 +16,7 @@
import
getopt
from
topydo.lib.PrettyPrinter
import
PrettyPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
PrettyPrinter
class
InvalidCommandArgument
(
Exception
):
...
...
topydo/lib/DCommand.py
View file @
f2072530
...
...
@@ -17,7 +17,7 @@
import
re
from
topydo.lib.MultiCommand
import
MultiCommand
from
topydo.lib.PrettyPrinter
import
PrettyPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
PrettyPrinter
from
topydo.lib.prettyprinters.Numbers
import
PrettyPrinterNumbers
...
...
topydo/lib/TodoListBase.py
View file @
f2072530
...
...
@@ -24,7 +24,7 @@ from datetime import date
from
topydo.lib
import
Filter
from
topydo.lib.Config
import
config
from
topydo.lib.HashListValues
import
hash_list_values
from
topydo.lib.PrettyPrinter
import
PrettyPrinter
from
topydo.lib.
printers.
PrettyPrinter
import
PrettyPrinter
from
topydo.lib.Todo
import
Todo
from
topydo.lib.View
import
View
...
...
topydo/lib/
DotPrinter
.py
→
topydo/lib/
printers/Dot
.py
View file @
f2072530
...
...
@@ -22,7 +22,7 @@ notation. Useful for displaying dependencies.
from
textwrap
import
wrap
from
topydo.lib.Colorblock
import
progress_html_color
from
topydo.lib.PrettyPrinter
import
Printer
from
topydo.lib.
printers.
PrettyPrinter
import
Printer
from
topydo.lib.Utils
import
humanize_date
...
...
topydo/lib/
IcalPrinter
.py
→
topydo/lib/
printers/Ical
.py
View file @
f2072530
...
...
@@ -23,7 +23,7 @@ import random
import
string
from
datetime
import
datetime
,
time
from
topydo.lib.PrettyPrinter
import
Printer
from
topydo.lib.
printers.
PrettyPrinter
import
Printer
def
_convert_priority
(
p_priority
):
...
...
topydo/lib/
JsonPrinter
.py
→
topydo/lib/
printers/Json
.py
View file @
f2072530
...
...
@@ -21,7 +21,7 @@ such that other applications can process it.
import
json
from
topydo.lib.PrettyPrinter
import
Printer
from
topydo.lib.
printers.
PrettyPrinter
import
Printer
def
_convert_todo
(
p_todo
):
...
...
topydo/lib/PrettyPrinter.py
→
topydo/lib/
printers/
PrettyPrinter.py
View file @
f2072530
File moved
topydo/lib/printers/__init__.py
0 → 100644
View file @
f2072530
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment