You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Python 3.11 support is currently blocked by PaddleOCR (and its underlying `paddlepaddle` package). When will these packages add pre-built wheels, who knows.
24
+
- Python 3.10 (primary runtime)
25
+
- Python 3.11 support is currently blocked by `paddleocr`'s underlying `paddlepaddle` package. When will that
The toolkit is configured via a `.env` file. The (boiled down) example configuration is as follows:
38
60
```sh
@@ -41,22 +63,36 @@ LOGGING_LEVEL=""
41
63
IDENTIFIER=""
42
64
PORT=""
43
65
```
44
-
-`LOGGING_LEVEL` is the logging level to use. Valid values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`. If not set, defaults to `INFO`.
45
-
-`IDENTIFIER` is for the serial number of your Android device. You can find this by running `adb devices` in your terminal. If you're connecting via `IP`, this is the IP address of your Android device.
66
+
-`LOGGING_LEVEL` is the logging level to use. Valid values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`. If not
67
+
set, defaults to `INFO`.
68
+
-`IDENTIFIER` is for the serial number of your Android device. You can find this by running `adb devices` in your
69
+
- terminal. If you're connecting via `IP`, this is the IP address of your Android device.
46
70
-`PORT` is the debugging port of your Android device. This is ignored when connecting via `USB`.
47
71
72
+
## Contributing
73
+
Set up the development environment with:
74
+
```sh
75
+
poetry install --with dev
76
+
poetry run pre-commit install
77
+
```
78
+
If your contribution involves `agf_toolkit.processor`, please run `poetry run pytest` at repository root to ensure that
79
+
your changes don't break compatibility.
48
80
49
81
## Note: This repository is...
50
82
### Not feature-complete.
51
-
I'm working on this solo, while also juggling irl work. This was supposed to be a rewrite of another private project, but I decided at the time of writing that this was enough to be of use to anyone wanting to write code for the game.
83
+
This was supposed to be a rewrite of another private project, but along the way features and ideas came up, so I decided
84
+
to expand the scope and implement them. This takes time, so be patient. Or better yet, hop in!
52
85
53
86
### Not stable, nor tested thoroughly.
54
-
A lot of things are still in the works, a lot of things are written on a whim. I haven't written any tests, the main loop is not decoupled from `__main__` to test, and I don't have enough screenshots to properly test the screenshot reader.
87
+
A lot of things are still in the works, a lot of things are written on a whim. Some tests are written, but I'm not sure
88
+
if everything is properly tested. `coverage`, yes, but I'll look at that later.
55
89
56
-
As the project scales, more and more tests will be needed. I'll try to write them as I go, but I can't promise anything.
57
90
58
91
### Not written by a professional programmer.
59
-
I'm a hobbyist try-hard programmer (as evident by my username) that just write too much code. If anything can be improved, please let me know. I'm always open to suggestions.
92
+
I'm a hobbyist try-hard programmer (as evident by my username) that just write too much code. My code can be very
93
+
opaque, hard to parse, and not follow best practices. If anything can be improved, please let me know. I'm always open
94
+
to suggestions.
60
95
61
96
### Not meant to be used by the general public.
62
-
A lot of things in this repository needs some work to be usable by the general public. I will get around to writing a guide for this soon enough.
97
+
A lot of things in this repository needs some work to be usable by the public. I will get around to writing a guide for
98
+
this soon enough. But until the first `v1.x` release, don't hope for much.
0 commit comments