Bumps the patch group with 2 updates: [pydantic](https://github.com/pydantic/pydantic) and [ruff](https://github.com/astral-sh/ruff). Updates `pydantic` from 2.11.2 to 2.11.3 - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v2.11.2...v2.11.3) Updates `ruff` from 0.11.4 to 0.11.5 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.4...0.11.5) --- updated-dependencies: - dependency-name: pydantic dependency-version: 2.11.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: ruff dependency-version: 0.11.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
134 lines
2.5 KiB
TOML
134 lines
2.5 KiB
TOML
[tool.poetry]
|
|
name = "kittycad"
|
|
version = "0.7.6"
|
|
description = "A client library for accessing KittyCAD"
|
|
|
|
authors = []
|
|
|
|
readme = "README.md"
|
|
packages = [{ include = "kittycad" }]
|
|
include = ["CHANGELOG.md", "kittycad/py.typed"]
|
|
|
|
[[tool.poetry.source]]
|
|
name = "pypi-public"
|
|
url = "https://pypi.org/simple/"
|
|
|
|
[tool.poetry.dependencies]
|
|
attrs = ">=20.1.0,<26.0.0"
|
|
httpx = ">=0.27.2,<0.29.0"
|
|
python = ">=3.9,<4.0"
|
|
python-dateutil = "^2.8.0"
|
|
websockets = ">=14.1.0,<16.0.0"
|
|
pymongo = "^4.6.0"
|
|
pydantic = "^2.9.1"
|
|
pydantic-extra-types = "^2.1.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
autoclasstoc = "^1.7.0"
|
|
black = "^25.1.0"
|
|
isort = "^6.0.1"
|
|
jinja2 = "^3.1.6"
|
|
jsonpatch = "^1.33"
|
|
mypy = "^1.15.0"
|
|
openapi-parser = "^0.2.6"
|
|
openapi-spec-validator = "^0.7.1"
|
|
prance = "^23.6.21"
|
|
pyenchant = "^3.2.2"
|
|
pytest = "^8.3.5"
|
|
pytest-asyncio = "^0.26.0"
|
|
pytest-cov = "^6.1.1"
|
|
ruff = "^0.11.5"
|
|
Sphinx = "^7.1.2"
|
|
sphinx-autoapi = "^3.6.0"
|
|
sphinx-autodoc-typehints = "^2.3.0"
|
|
sphinxcontrib-spelling = "^8.0.0"
|
|
sphinx-copybutton = "^0.5.2"
|
|
sphinxext-opengraph = "^0.10.0"
|
|
sphinx-rtd-theme = "^3.0.2"
|
|
toml = "^0.10.2"
|
|
types-python-dateutil = "^2.9.0"
|
|
types-toml = "^0.10.8"
|
|
|
|
[build-system]
|
|
requires = ["poetry>=1.0"]
|
|
build-backend = "poetry.masonry.api"
|
|
|
|
[tool.isort]
|
|
line_length = 88
|
|
profile = "black"
|
|
src_paths = ["generate", "kittycad", "docs"]
|
|
float_to_top = true
|
|
combine_as_imports = true
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
# Since we auto fix these, we don't want to warn about them. Since some doc strings are too long.
|
|
ignore = ["E501"]
|
|
# Allow autofix for all enabled rules (when `--fix`) is provided.
|
|
fixable = [
|
|
"A",
|
|
"B",
|
|
"C",
|
|
"D",
|
|
"E",
|
|
"F",
|
|
"G",
|
|
"I",
|
|
"N",
|
|
"Q",
|
|
"S",
|
|
"T",
|
|
"W",
|
|
"ANN",
|
|
"ARG",
|
|
"BLE",
|
|
"COM",
|
|
"DJ",
|
|
"DTZ",
|
|
"EM",
|
|
"ERA",
|
|
"EXE",
|
|
"FBT",
|
|
"ICN",
|
|
"INP",
|
|
"ISC",
|
|
"NPY",
|
|
"PD",
|
|
"PGH",
|
|
"PIE",
|
|
"PL",
|
|
"PT",
|
|
"PTH",
|
|
"PYI",
|
|
"RET",
|
|
"RSE",
|
|
"RUF",
|
|
"SIM",
|
|
"SLF",
|
|
"TCH",
|
|
"TID",
|
|
"TRY",
|
|
"UP",
|
|
"YTT",
|
|
]
|
|
unfixable = []
|
|
# Allow unused variables when underscore-prefixed.
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# We exclude init files since otherwise ruff will delete all the unused imports.
|
|
# This code comes from here: https://beta.ruff.rs/docs/rules/#pyflakes-f
|
|
"__init__.py" = ["F401"]
|
|
"examples_test.py" = ["F841"]
|
|
|
|
[tool.mypy]
|
|
exclude = ["venv"]
|
|
show_error_codes = true
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--doctest-modules"
|