File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2986,13 +2986,13 @@ def conditional_format(
2986
2986
elif options ["criteria" ] == "tomorrow" :
2987
2987
options ["formula" ] = "FLOOR(%s,1)=TODAY()+1" % start_cell
2988
2988
2989
+ # fmt: off
2989
2990
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 )
2995
2994
)
2995
+ # fmt: on
2996
2996
2997
2997
elif options ["criteria" ] == "lastWeek" :
2998
2998
options ["formula" ] = (
@@ -3022,13 +3022,13 @@ def conditional_format(
3022
3022
% (start_cell , start_cell , start_cell )
3023
3023
)
3024
3024
3025
+ # fmt: off
3025
3026
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 )
3031
3030
)
3031
+ # fmt: on
3032
3032
3033
3033
elif options ["criteria" ] == "nextMonth" :
3034
3034
options ["formula" ] = (
You can’t perform that action at this time.
0 commit comments