-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 1.77 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "d2irclient"
version = "0.1.1"
description = "A python client for the Direct to INN-Reach (D2IR) API"
readme = "README.md"
requires-python = ">=3.11,<4.0"
dependencies = [
"httpx>=0.28.1",
]
[build-system]
requires = ["uv_build>=0.9.3,<0.10.0"]
build-backend = "uv_build"
# Linting
[tool.ruff]
line-length = 99
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"venv",
"**/tests/*.py",
"integration_test.py"
]
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = ["B", "B9", "C", "E", "F", "S", "W"]
ignore = ["E741", "S113"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"**/{tests,docs,tools}/*" = ["E402"]
"**/test_*.py" = ["S101"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
# Testing
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"integration: mark the test as an integration test.",
"ecs: mark test as ECS functionality test.",
"slow: mark test as slow (deselect with '-m \"not slow\"' option).",
]
[dependency-groups]
dev = [
"mypy>=1.18.2",
"pyrefly>=0.37.0",
"pytest>=8.4.2,<9.0.0",
"pytest-asyncio>=1.2.0",
"pytest-coverage>=0.0",
"ruff>=0.14.0",
"ty>=0.0.1a22",
]