File tree Expand file tree Collapse file tree 5 files changed +540
-11
lines changed Expand file tree Collapse file tree 5 files changed +540
-11
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,4 @@ Thumbs.db
5555.vscode /
5656
5757.egg-info /
58+ ignore *
Original file line number Diff line number Diff line change @@ -37,9 +37,20 @@ New dependencies can be installed directly using `uv`. This modifies the
3737uv add < package-name>
3838```
3939
40- ### Linting and formatting
41- You can check and fix the code style by running the following commands.
42- ``` bash
43- uvx ruff check --fix
44- uvx ruff format
40+ ### Linting and Formatting
41+
42+ To ensure your code follows the project's style guidelines, use the following commands:
43+
44+ - To check code style and run static analysis:
45+ ``` bash
46+ just check
47+ just format-check
48+ ```
49+
50+ - To automatically format your code:
51+ ` ` ` bash
52+ just format
53+ ` ` `
54+
55+ These commands help maintain code quality and consistency across the project.
4556```
Original file line number Diff line number Diff line change 1+ default :
2+ @ just --list
3+
4+ [doc (" Run tests across multiple Python versions using uv and rio" )]
5+ test :
6+ #!/ bin/ bash
7+ set -euo pipefail
8+
9+ PYTHON_VERSIONS=(" 3.8" " 3.9" " 3.10" " 3.11" " 3.12" " 3.13" )
10+
11+ uv sync
12+ source .venv/ bin/ activate
13+
14+ for version in " ${PYTHON_VERSIONS[@]}" ; do
15+ echo " Checking for Python $version"
16+ uv sync -p " $version"
17+ rio --help
18+ done
19+
20+ [doc (" Run ruff linter checks on riocli" )]
21+ check :
22+ @ ruff check riocli
23+
24+ [doc (" Format code in riocli (pass extra flags if needed)" )]
25+ format + FLAGS :
26+ @ ruff format riocli {{ FLAGS}}
27+
28+ [doc (" Check formatting without making changes (runs: ruff format --check)" )]
29+ format-check :
30+ just format --check
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ dependencies = [
5656 " waiting>=1.4.1" ,
5757 " yaspin==2.5.0" ,
5858 " ansible-core>=2.13.13" ,
59+ " rapyuta-io-sdk-v2>=0.1.0" ,
5960]
6061
6162[tool .uv ]
@@ -65,6 +66,9 @@ dev-dependencies = [
6566 " furo" ,
6667]
6768
69+ [tool .uv .sources ]
70+ rapyuta-io-sdk-v2 = { git = " https://github.com/rapyuta-robotics/rapyuta-io-sdk-v2.git" , branch = " feat/manifest-validation" }
71+
6872[project .scripts ]
6973rio = " riocli.bootstrap:safe_cli"
7074
You can’t perform that action at this time.
0 commit comments