Skip to content

Commit

Permalink
chore(main): release 0.0.0 (#1)
Browse files Browse the repository at this point in the history
* 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
release-please[bot] and release-please[bot] authored Nov 21, 2024
1 parent f20c617 commit 6ee1db0
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 10 deletions.
90 changes: 86 additions & 4 deletions .ruff.toml
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"
13 changes: 13 additions & 0 deletions CHANGELOG.md
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))
7 changes: 2 additions & 5 deletions docs/schema/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@
},
"provider": {
"default": "deepseek",
"enum": [
"deepseek",
"custom"
],
"enum": ["deepseek", "custom"],
"title": "Provider",
"type": "string"
},
Expand All @@ -72,4 +69,4 @@
},
"title": "Config",
"type": "object"
}
}
7 changes: 6 additions & 1 deletion pyrightconfig.json
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"
}

0 comments on commit 6ee1db0

Please sign in to comment.