File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2986,13 +2986,13 @@ def conditional_format(
29862986 elif options ["criteria" ] == "tomorrow" :
29872987 options ["formula" ] = "FLOOR(%s,1)=TODAY()+1" % start_cell
29882988
2989+ # fmt: off
29892990 elif options ["criteria" ] == "last7Days" :
2990- options [
2991- "formula"
2992- ] = "AND(TODAY()-FLOOR(%s,1)<=6,FLOOR(%s,1)<=TODAY())" % (
2993- start_cell ,
2994- start_cell ,
2991+ options ["formula" ] = (
2992+ "AND(TODAY()-FLOOR(%s,1)<=6,FLOOR(%s,1)<=TODAY())"
2993+ % (start_cell , start_cell )
29952994 )
2995+ # fmt: on
29962996
29972997 elif options ["criteria" ] == "lastWeek" :
29982998 options ["formula" ] = (
@@ -3022,13 +3022,13 @@ def conditional_format(
30223022 % (start_cell , start_cell , start_cell )
30233023 )
30243024
3025+ # fmt: off
30253026 elif options ["criteria" ] == "thisMonth" :
3026- options [
3027- "formula"
3028- ] = "AND(MONTH(%s)=MONTH(TODAY()),YEAR(%s)=YEAR(TODAY()))" % (
3029- start_cell ,
3030- start_cell ,
3027+ options ["formula" ] = (
3028+ "AND(MONTH(%s)=MONTH(TODAY()),YEAR(%s)=YEAR(TODAY()))"
3029+ % (start_cell , start_cell )
30313030 )
3031+ # fmt: on
30323032
30333033 elif options ["criteria" ] == "nextMonth" :
30343034 options ["formula" ] = (
You can’t perform that action at this time.
0 commit comments