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
4c81766f
Commit
4c81766f
authored
Oct 08, 2015
by
MinchinWeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PEP8 E231
missing whitespace after ':' missing whitespace after ','
parent
7140b332
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
test/TestDepriCommand.py
test/TestDepriCommand.py
+1
-1
test/TestListContextCommand.py
test/TestListContextCommand.py
+2
-2
test/TestTodoBase.py
test/TestTodoBase.py
+1
-1
topydo/lib/Config.py
topydo/lib/Config.py
+1
-1
No files found.
test/TestDepriCommand.py
View file @
4c81766f
...
...
@@ -63,7 +63,7 @@ class DepriCommandTest(CommandTest):
self
.
assertEqual
(
self
.
errors
,
""
)
def
test_depri4
(
self
):
command
=
DepriCommand
([
"1"
,
"Baz"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
=
DepriCommand
([
"1"
,
"Baz"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
self
.
assertTrue
(
self
.
todolist
.
is_dirty
())
...
...
test/TestListContextCommand.py
View file @
4c81766f
...
...
@@ -26,7 +26,7 @@ class ListContextCommandTest(CommandTest):
command
=
ListContextCommand
([
""
],
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
self
.
assertEqual
(
self
.
output
,
"Context1
\
n
Context2
\
n
"
)
self
.
assertEqual
(
self
.
output
,
"Context1
\
n
Context2
\
n
"
)
self
.
assertFalse
(
self
.
errors
)
def
test_contexts2
(
self
):
...
...
@@ -34,7 +34,7 @@ class ListContextCommandTest(CommandTest):
command
=
ListContextCommand
([
"aaa"
],
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
self
.
assertEqual
(
self
.
output
,
"Context1
\
n
Context2
\
n
"
)
self
.
assertEqual
(
self
.
output
,
"Context1
\
n
Context2
\
n
"
)
self
.
assertFalse
(
self
.
errors
)
def
test_help
(
self
):
...
...
test/TestTodoBase.py
View file @
4c81766f
...
...
@@ -302,7 +302,7 @@ class TodoBaseTester(TopydoTest):
todo
.
set_source_text
(
new_text
)
self
.
assertEqual
(
todo
.
src
,
new_text
)
self
.
assertEqual
(
todo
.
priority
(),
'C'
)
self
.
assertEqual
(
todo
.
priority
(),
'C'
)
def
test_set_creation_date1
(
self
):
todo
=
TodoBase
(
"Foo"
)
...
...
topydo/lib/Config.py
View file @
4c81766f
...
...
@@ -214,7 +214,7 @@ class _Config:
try
:
if
pri_colors_str
==
''
:
pri_colors_dict
=
{
'A'
:
''
,
'B'
:
''
,
'C'
:
''
}
pri_colors_dict
=
{
'A'
:
''
,
'B'
:
''
,
'C'
:
''
}
else
:
pri_colors_dict
=
_str_to_dict
(
pri_colors_str
)
except
ValueError
:
...
...
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