File tree 1 file changed +11
-10
lines changed
1 file changed +11
-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" ] = (
@@ -3023,11 +3023,12 @@ def conditional_format(
3023
3023
)
3024
3024
3025
3025
elif options ["criteria" ] == "thisMonth" :
3026
- options [
3027
- "formula"
3028
- ] = "AND(MONTH(%s)=MONTH(TODAY()),YEAR(%s)=YEAR(TODAY()))" % (
3029
- start_cell ,
3030
- start_cell ,
3026
+ options ["formula" ] = (
3027
+ "AND(MONTH(%s)=MONTH(TODAY()),YEAR(%s)=YEAR(TODAY()))"
3028
+ % (
3029
+ start_cell ,
3030
+ start_cell ,
3031
+ )
3031
3032
)
3032
3033
3033
3034
elif options ["criteria" ] == "nextMonth" :
You can’t perform that action at this time.
0 commit comments