-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (52 loc) · 1.35 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "onpy"
version = "0.0.6"
requires-python = ">=3.12"
authors = [
{name = "Kyle Tennison", email = "kyletennison@gmail.com"},
]
maintainers = [
{name = "Kyle Tennison", email = "kyletennison@gmail.com"},
]
description = "A Python API for building models in OnShape"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python"
]
dependencies = [
"loguru",
"requests",
"pydantic",
"numpy",
"prettytable"
]
[project.optional-dependencies]
dev = [
"black",
"pytest",
"ruff",
"mypy",
"types-requests",
"nbconvert",
]
[tool.ruff]
include = ["src/*"]
line-length = 100
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D205", # overly verbose to make docstrings like this
"SLF001", # private apis are only used internally, which is okay
"PLR0913", # complexity is unavoidable for math-intensive methods
"PLR0912", # complexity is unavoidable for math-intensive methods
"PLR0915", # complexity is unavoidable for math-intensive methods
"C901", # complexity is unavoidable for math-intensive methods
"FIX002", # allow TODO notes
"TD003", # don't require tickets for TODO notes
"N815", # onshape api schma is not controlled by onpy
]
per-file-ignores = {"src/onpy/entities/queries.py" = ["N801"]}