-
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(main): release 0.0.0 * chore(mega-linter): apply linters fixes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f20c617
commit 6ee1db0
Showing
4 changed files
with
107 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,89 @@ | ||
#:schema https://json.schemastore.org/ruff.json | ||
extend = ".github/linters/.ruff.toml" | ||
target-version = "py311" | ||
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 | ||
|
||
[lint.flake8-import-conventions.aliases] | ||
"llm_cli" = "lc" | ||
"llm_cli.utils" = "lu" | ||
"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" |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Changelog | ||
|
||
## 0.0.0 (2024-11-21) | ||
|
||
|
||
### 🎫 Chores | ||
|
||
* initialize project with configuration files and setup ([364d7a3](https://github.com/liblaf/llm-cli/commit/364d7a3f6d3b1f32ffe72dcf08221fee1e425e7a)) | ||
|
||
|
||
### 🔧 Continuous Integration | ||
|
||
* add GitHub Actions workflow for CI and release automation ([f20c617](https://github.com/liblaf/llm-cli/commit/f20c617038972d5ecbc395323d6face1785b2918)) |
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,4 +1,9 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json", | ||
"extends": ".github/linters/pyrightconfig.json" | ||
"typeCheckingMode": "standard", | ||
|
||
"reportArgumentType": "information", | ||
"reportAssignmentType": "information", | ||
"reportPrivateImportUsage": "none", | ||
"reportRedeclaration": "none" | ||
} |