Skip to content

Commit

Permalink
fix: discover module from src
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz committed Dec 15, 2023
1 parent 17dd38d commit ff9e242
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Automate plotting posts in [Splatoon](https://splatoonwiki.org/wiki/Splatoon) ba

The mailbox is a service in the Splatoon hub that allows players to create drawings and share them via social media. The drawings may be viewable by other players and may be displayed as signs or graffiti in the hub and in various stages in multiplayer matches.

[](https://raw.githubusercontent.com/necusjz/p/master/splatbot/mailbox.png)
![](https://raw.githubusercontent.com/necusjz/p/master/splatbot/mailbox.png)

## Installation
[BlueZ](http://www.bluez.org/) is a Bluetooth protocol stack included with the official Linux kernel distributions. If you have a Linux machine with a Bluetooth connection, then things become easier:
Expand Down Expand Up @@ -52,7 +52,8 @@ $ vagrant destroy

## Benchmark
We provide a dataset collected from [ikasumi.art](https://ikasumi.art/) to easier achieve performance test on your pathing algorithm:
[](https://raw.githubusercontent.com/necusjz/p/master/splatbot/dataset.png)

![](https://raw.githubusercontent.com/necusjz/p/master/splatbot/dataset.png)

The results will be shown in the pipeline:
```text
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e

TAG=$(python -c 'from splatbot.version import VERSION; print("v" + VERSION)')
TAG=$(python -c 'from src.splatbot.version import VERSION; print("v" + VERSION)')

read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt

Expand Down
4 changes: 2 additions & 2 deletions tests/test_macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from PIL import Image
from tabulate import tabulate

from splatbot.macro import pathing
from src.splatbot.macro import pathing


def test_pathing():
Expand All @@ -26,5 +26,5 @@ def test_pathing():

headers = ["Benchmark", "Current", "Previous", "Result"]

print("\n")
print("")
print(tabulate(data, headers=headers, tablefmt="grid", numalign="left"))

0 comments on commit ff9e242

Please sign in to comment.