Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0d53cd

Browse files
committed
refactoring with new workflow
1 parent 3ee7a89 commit a0d53cd

18 files changed

+736
-760
lines changed

TODO.txt

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,54 @@
1-
! = todo
1+
-- INFILE --
22

3-
-- index --
3+
#!DEPRECATED = dead method or code block
4+
#!TODO = unfinished or see the commment
5+
6+
-- GENERAL --
47

58
# NEWTYPE = make traittype
69
# TRAITLET = make traitlet
710
# REFACTOR = change api
811

9-
-- transform --
12+
-- WORKFLOW --
13+
14+
0.0) not started
15+
16+
0.1) if relevant make new traittype
17+
0.2) create class attr for traittype
18+
0.3) implament new change handlers
19+
20+
# in Sublime Text
21+
1.0) check for redefinition
22+
1.1) identify class as of Artist
23+
1.2) write relevant imports
24+
1.3) make the method changes
25+
26+
27+
# in TextMate
28+
2.0) locate method references
29+
2.1) changed the method references
1030

11-
! NEWTYPE : setter/getter -> TransformType
12-
! TRAITLET : transform = TransformType
13-
! REFACTOR : def set_transform -> none
14-
! REFACTOR : def get_transform -> none
31+
3.0) locate underscored attr references
32+
3.1) change the underscored attrs
1533

16-
-- transform_set --
34+
4.0) if property find normal references
35+
4.1) change the underscored attrs
1736

18-
! TRAITLET : transformSet = BoolType(False)
19-
! REFACTOR : self.transformSet -> self.transform_set
37+
5.0) complete
2038

21-
-- stale --
39+
-- STATUS --
2240

23-
! TRAITLET : stale = BoolType(True)
24-
! REFACTOR : def stale -> none
41+
1.3 : transform
42+
0.2 : transform_set
43+
0.2 : stale
44+
0.0 : visible
45+
0.0 : animated
46+
0.0 : alpha
47+
0.0 : clipbox
48+
0.0 : clippath
49+
0.0 : clipon
50+
0.0 : label
51+
0.0 : picker
52+
0.0 : contains
53+
0.0 : rasterized
54+
0.0 : agg_filter

0 commit comments

Comments
 (0)