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
4a07eea4
Commit
4a07eea4
authored
Jan 25, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/bram85/topydo
parents
e7be158c
3e0245b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
CHANGES.md
CHANGES.md
+5
-5
README.md
README.md
+5
-3
topydo/lib/Utils.py
topydo/lib/Utils.py
+1
-1
No files found.
CHANGES.md
View file @
4a07eea4
...
...
@@ -4,9 +4,9 @@
*
Dropped support for Python 2.7.
*
Add ability to filter on creation/completion dates:
topydo ls created:today
topydo ls completed:today
topydo -t done.txt completed:today # if auto-archiving is set
topydo ls created:today
topydo ls completed:today
topydo -t done.txt completed:today # if auto-archiving is set
*
`ls -F`
supports
`%P`
that expands to a single space when no priority is set,
in contrast to
`%p`
which expands to an empty string (thanks to @MinchinWeb).
...
...
@@ -41,8 +41,8 @@ for the majority of these new features.
*
`ls`
output can be customized with a -F flag or a configuration option:
[ls]
list_format = |%I| %x %{(}p{)} %c %s %k %{due:}d %{t:}t
[ls]
list_format = |%I| %x %{(}p{)} %c %s %k %{due:}d %{t:}t
or
`ls -F "%{(}p{)} %s %{due:}d"`
.
...
...
README.md
View file @
4a07eea4
...
...
@@ -26,19 +26,21 @@ Simply install with:
pip install topydo
### Optional dependencies
### Dependencies
*
[
arrow
][
8
]
: Used to turn dates into a human readable version.
#### Optional dependencies:
*
[
icalendar
][
7
]
: To print your todo.txt file as an iCalendar file
(not supported for PyPy3).
*
[
prompt-toolkit
][
6
]
: For topydo's _prompt_ mode, which offers a shell-like
interface with auto-completion.
*
[
arrow
][
8
]
: Used to turn dates into a human readable version.
*
[
backports.shutil_get_terminal_size
][
9
]
: Used to determine your terminal
window size. This function was
added to the standard library in
Python 3.3 and so is only
required for PyPy3.
*
[
python-dateutil
][
10
]
: A dependency of
*arrow*
.
*
[
mock
][
11
]
: Used for testing. This was added to the standard
library in Python 3.3.
...
...
topydo/lib/Utils.py
View file @
4a07eea4
...
...
@@ -74,6 +74,6 @@ def get_terminal_size():
occurs during running the unittest on Windows (but not on Linux?)
"""
terminal_size
=
namedtuple
(
'Terminal_Size'
,
'columns lines'
)
sz
=
terminal_size
(
(
80
,
24
)
)
sz
=
terminal_size
(
80
,
24
)
return
sz
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