-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: streamline CI configuration and update dependencies
- Simplify MegaLinter workflow by removing redundant steps and configurations. - Update project dependencies and configuration files to reflect current standards. - Enhance project description and requirements in `pyproject.toml`. - Extend linting and type-checking configurations to centralize and simplify management. Release-As: 0.0.0
- Loading branch information
Showing
9 changed files
with
19 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/bash | ||
watch_file uv.lock | ||
if [[ ! -f .venv/bin/activate ]]; then | ||
uv venv --system-site-packages | ||
uv sync --all-extras | ||
fi | ||
# shellcheck disable=SC2016 | ||
sd '^(\s*)?(?P<key>include-system-site-packages)(\s*)?=(\s*)?(?<val>.*)$' '$key = true' .venv/pyvenv.cfg | ||
# shellcheck disable=SC1091 | ||
source .venv/bin/activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,7 @@ | ||
#:schema https://json.schemastore.org/ruff.json | ||
builtins = ["ic"] | ||
fix = true | ||
show-fixes = true | ||
target-version = "py312" | ||
|
||
[format] | ||
docstring-code-format = true | ||
|
||
[lint] | ||
explicit-preview-rules = true | ||
ignore = [ | ||
"ANN002", | ||
"ANN003", | ||
"ANN401", | ||
"COM812", | ||
"D100", | ||
"D101", | ||
"D102", | ||
"D103", | ||
"D104", | ||
"D105", | ||
"D106", | ||
"D107", | ||
"E501", | ||
"ERA001", | ||
"FIX002", | ||
"INP001", | ||
"PLR0913", | ||
"PLR2004", | ||
"RET504", | ||
"S101", | ||
"S603", | ||
"S607", | ||
"T201", | ||
"TCH001", | ||
"TCH002", | ||
"TCH003", | ||
"TD002", | ||
"TD003", | ||
"TD004", | ||
"TD005", | ||
] | ||
preview = true | ||
select = ["ALL", "RUF022"] | ||
|
||
[lint.flake8-annotations] | ||
allow-star-arg-any = true | ||
extend = ".github/linters/.ruff.toml" | ||
|
||
[lint.flake8-import-conventions.aliases] | ||
"asyncio.subprocess" = "asp" | ||
"jax.numpy" = "jnp" | ||
"jax.typing" = "jxt" | ||
"matplotlib" = "mpl" | ||
"matplotlib.pyplot" = "plt" | ||
"numpy" = "np" | ||
"numpy.typing" = "npt" | ||
"open3d" = "o3d" | ||
"pandas" = "pd" | ||
"polars" = "pl" | ||
"pyvista" = "pv" | ||
"seaborn" = "sns" | ||
"subprocess" = "sp" | ||
"taichi" = "ti" | ||
"toolkit" = "tk" | ||
"toolkit.array" = "at" | ||
"toolkit.validation" = "tv" | ||
"toolkit.array.jax" = "tj" | ||
"toolkit.array.numpy" = "tn" | ||
"toolkit.array.torch" = "tt" | ||
"toolkit.typing" = "tp" | ||
"trimesh" = "tm" | ||
"trimesh.transformations" = "tf" | ||
|
||
[lint.flake8-type-checking] | ||
runtime-evaluated-base-classes = [ | ||
"pydantic.BaseModel", | ||
"pydantic_settings.BaseSettings", | ||
"sqlalchemy.orm.DeclarativeBase", | ||
"toolkit.BaseConfig", | ||
] | ||
runtime-evaluated-decorators = [ | ||
"attrs.define", | ||
"pydantic.validate_call", | ||
"toolkit.main", | ||
] | ||
|
||
[lint.pydocstyle] | ||
convention = "google" | ||
"llm_cli" = "lc" | ||
"llm_cli.cmd" = "lc" | ||
"llm_cli.utils" = "lu" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json", | ||
"typeCheckingMode": "standard", | ||
|
||
"reportArgumentType": "information", | ||
"reportAssignmentType": "information", | ||
"reportPrivateImportUsage": "none", | ||
"reportRedeclaration": "none" | ||
"extends": ".github/linters/pyrightconfig.json" | ||
} |
Oops, something went wrong.