Skip to content

Commit

Permalink
Fix mypy properly?
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Dec 21, 2024
1 parent e06ed33 commit a17bbab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion datacube_ows/styles/ramp.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def read_mpl_ramp(mpl_ramp: str) -> RAMP_SPEC:
}
)
for val in val_range:
rgba_hex = to_hex(cmap(val))
rgba_hex = to_hex(cast(tuple[float, float, float, float], cmap(val)))
unscaled_cmap.append(
{
"value": float(val),
Expand Down
4 changes: 4 additions & 0 deletions wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ AND'd
anded
ANDed
antired
Antimeridian
antimeridian
ap
apache
api
Expand Down Expand Up @@ -76,6 +78,7 @@ ce
cfb
cfg
ci
christophfriedrich
cli
cloudfront
codebase
Expand Down Expand Up @@ -270,6 +273,7 @@ mypassword
mysecretpassword
myuser
namespace
NaNs
natively
ncols
ndays
Expand Down

0 comments on commit a17bbab

Please sign in to comment.