Skip to content

Commit

Permalink
feat: Adds vl_convert.pyi type stub
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Aug 28, 2024
1 parent 52a01f0 commit 786beda
Show file tree
Hide file tree
Showing 2 changed files with 865 additions and 0 deletions.
64 changes: 64 additions & 0 deletions vl-convert-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,67 @@ classifiers = [

[tool.maturin]
sdist-include = ["*_thirdparty.*"]

[tool.ruff]
target-version = "py310"
line-length = 88
indent-width = 4
exclude = []

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = true
line-ending = "lf"
# https://docs.astral.sh/ruff/formatter/#docstring-formatting
docstring-code-format = true
docstring-code-line-length = 88

[tool.ruff.lint]
# https://docs.astral.sh/ruff/preview/
preview = true

# https://docs.astral.sh/ruff/settings/#lint_extend-safe-fixes
extend-safe-fixes = [
# from __future__ import annotations #
# ---------------------------------- #
"UP006",
"UP007",
"UP008",
"TCH",
# unsorted-dunder-all
"RUF022",
# pydocstyle #
# ---------- #
# fits-on-one-line
"D200",
# escape-sequence-in-docstring
"D301",
# ends-in-period
"D400",
]
extend-select = [
"ANN",
"D",
"D213",
"D400",
"E",
"F",
"FA",
"I001",
"RUF",
"TCH",
"TID",
"UP",
"W",
]
ignore = [
# indent-with-spaces
"D206",
# multi-line-summary-first-line ((D213) is the opposite of this)
"D212",
# Line too long
"E501",
]
pydocstyle.convention = "numpy"
isort.split-on-trailing-comma = false
Loading

0 comments on commit 786beda

Please sign in to comment.