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
09fb5f0a
Commit
09fb5f0a
authored
Oct 08, 2015
by
MinchinWeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Spelling
parent
4d97f19d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
topydo/commands/AddCommand.py
topydo/commands/AddCommand.py
+1
-1
topydo/commands/ListCommand.py
topydo/commands/ListCommand.py
+1
-1
topydo/lib/PrettyPrinterFilter.py
topydo/lib/PrettyPrinterFilter.py
+2
-2
topydo/lib/TodoBase.py
topydo/lib/TodoBase.py
+1
-1
topydo/lib/TodoListBase.py
topydo/lib/TodoListBase.py
+1
-1
topydo/lib/TodoParser.py
topydo/lib/TodoParser.py
+1
-1
No files found.
topydo/commands/AddCommand.py
View file @
09fb5f0a
...
...
@@ -61,7 +61,7 @@ class AddCommand(Command):
def
_add_todo
(
self
,
p_todo_text
):
def
_preprocess_input_todo
(
p_todo_text
):
"""
Preprocesses user input when adding a task.
Pre
-
processes user input when adding a task.
It detects a priority mid-sentence and puts it at the start.
"""
...
...
topydo/commands/ListCommand.py
View file @
09fb5f0a
...
...
@@ -118,7 +118,7 @@ When an expression is given, only the todos matching that expression are shown.
-f : Specify the output format, being 'text' (default), 'ical' or 'json'.
* 'text' - Text output with colors and identation if applicable.
* 'text' - Text output with colors and i
n
dentation if applicable.
* 'ical' - iCalendar (RFC 2445). Is not supported in Python 3.2. Be aware
that this is not a read-only operation, todo items may obtain
an 'ical' tag with a unique ID. Completed todo items may be
...
...
topydo/lib/PrettyPrinterFilter.py
View file @
09fb5f0a
...
...
@@ -28,7 +28,7 @@ class PrettyPrinterFilter(object):
"""
Base class for a pretty printer filter.
Subclasses must reimplement the filter method.
Subclasses must re
-
implement the filter method.
"""
def
filter
(
self
,
p_todo_str
,
_
):
...
...
@@ -111,7 +111,7 @@ class PrettyPrinterNumbers(PrettyPrinterFilter):
class PrettyPrinterHideTagFilter(PrettyPrinterFilter):
"""
Removes
all
occurences
of
the
given
tags
from
the
text
.
"""
"""
Removes
all
occur
r
ences
of
the
given
tags
from
the
text
.
"""
def __init__(self, p_hidden_tags):
super(PrettyPrinterHideTagFilter, self).__init__()
self.hidden_tags = p_hidden_tags
...
...
topydo/lib/TodoBase.py
View file @
09fb5f0a
...
...
@@ -216,7 +216,7 @@ class TodoBase(object):
"""
self.fields['
creationDate
'] = p_date
# not particulary pretty, but inspired by
# not particular
l
y pretty, but inspired by
# http://bugs.python.org/issue1519638 non-existent matches trigger
# exceptions, hence the lambda
self.src = re.sub(
...
...
topydo/lib/TodoListBase.py
View file @
09fb5f0a
...
...
@@ -86,7 +86,7 @@ class TodoListBase(object):
"""
Attempts to find the todo on the given line number.
When the identifier is a number but has leading zero
e
s, the result
When the identifier is a number but has leading zeros, the result
will be None.
"""
...
...
topydo/lib/TodoParser.py
View file @
09fb5f0a
...
...
@@ -44,7 +44,7 @@ def parse_line(p_string):
First checks whether the standard elements are present, such as priority,
creation date, completeness check and the completion date.
Then the rest of the analyzed for any occurences of contexts, projects or
Then the rest of the analyzed for any occur
r
ences of contexts, projects or
tags.
Returns an dictionary with the default values as shown below.
...
...
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