Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos committed Jun 20, 2024
1 parent 3febf95 commit d142d2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion awpy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def get(resource_type: Literal["usd"], resource_name: str) -> None:
if resource_name == "all":
logger.info("Getting all USDs...")
else:
logger.info(f"Getting USD for {resource_name}...")
getting_specific_usd_msg = f"Getting USD for {resource_name}..."
logger.info(getting_specific_usd_msg)


@awpy.command(help="Parse a Counter-Strike 2 demo file.")
Expand Down
2 changes: 1 addition & 1 deletion awpy/vis/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def plot_upper_and_lower(map_name: str) -> tuple[Figure, list[Axes]]:
map_names = [map_name, f"{map_name}_lower"]
figure, axes = plt.subplots(1, 2) # , figsize=(2 * 5, 5)

for ax, map_layer_name in zip(axes, map_names):
for ax, map_layer_name in zip(axes, map_names, strict=True):
with importlib.resources.path(
"awpy.data.maps", f"{map_layer_name}.png"
) as map_img_path:
Expand Down

0 comments on commit d142d2a

Please sign in to comment.