File tree Expand file tree Collapse file tree 13 files changed +612
-210
lines changed
Expand file tree Collapse file tree 13 files changed +612
-210
lines changed Original file line number Diff line number Diff line change 3232 - name : Lint with ruff
3333 run : |
3434 ~/.local/bin/uv run ruff check aiutil/ tests/
35- - name : Lint with pytype
36- run : |
37- ~/.local/bin/uv run pytype ./
35+ # - name: Lint with pytype
36+ # run: |
37+ # ~/.local/bin/uv run pytype ./
3838 - name : Check code format
3939 run : |
4040 ~/.local/bin/uv run ruff format --check .
Original file line number Diff line number Diff line change 11name : release
22on :
3- push :
4- tags :
5- - v*
3+ release :
4+ types : [published]
5+ # push:
6+ # tags: ["v*"]
67jobs :
78 release :
89 name : Release
Original file line number Diff line number Diff line change 1616 - " 3.10"
1717 - " 3.11"
1818 - " 3.12"
19+ - " 3.13"
1920 steps :
2021 - uses : actions/checkout@v4
2122 - name : Set up Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 1515 - " 3.10"
1616 - " 3.11"
1717 - " 3.12"
18+ - " 3.13"
1819 steps :
1920 - uses : actions/checkout@v4
2021 - name : Set up Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 11{ pkgs , ...} : {
22 channel = "stable-24.11" ;
33 packages = with pkgs ; [
4+ ncurses
45 util-linux
6+ clang
57 file
68 bash-completion
79 gitui
2527 "ms-python.debugpy"
2628 ] ;
2729 workspace = {
28- #onCreate = {
29- #}
30- onStart = {
30+ onCreate = {
3131 icon = ''
3232 curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | bash -s -- \
3333 -d ~/.local/bin
3434 '' ;
3535 } ;
36+ onStart = {
37+ } ;
3638 } ;
3739 # Enable previews and customize configuration
3840 previews = { } ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This is a Python pacakage that contains misc utils for AI/ML.
1414 - ` aiutil.cv ` : some more tools (in addition to OpenCV) for image processing
1515 - ` aiutil.shell ` : parse command-line output to a pandas DataFrame
1616 - ` aiutil.shebang ` : auto correct SheBang of scripts
17- - ` aiutil.poetry ` : tools for making it even easier to manage Python project using Poetry
17+ - ` aiutil.pydev ` : tools for making it even easier to manage Python project
1818 - ` aiutil.pdf ` : easy and flexible extracting of PDF pages
1919 - ` aiutil.memory ` : query and consume memory to a specified range
2020 - ` aiutil.notebook ` : Jupyter/Lab notebook related tools
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def _split_dir_1(
158158 path .rename (desdir / path .name )
159159
160160
161- def find_images (root_dir : str | Path | list [str ] | list [ Path ]) -> list [Path ]:
161+ def find_images (root_dir : str | Path | list [str | Path ]) -> list [Path ]:
162162 """Find all PNG images in a (sequence) of dir(s) or its/their subdirs.
163163
164164 :param root_dir: A (list) of dir(s).
You can’t perform that action at this time.
0 commit comments