Skip to content

Commit 79f8ca6

Browse files
committed
style: apply oxfmt formatting to TOML files
Apply consistent TOML formatting via treefmt/oxfmt: - Use 2-space indentation for arrays - Inline short arrays where appropriate
1 parent 32e78d3 commit 79f8ca6

File tree

2 files changed

+47
-59
lines changed

2 files changed

+47
-59
lines changed

.gitleaks.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,4 @@ useDefault = true
66

77
[allowlist]
88
description = "Global allowlist"
9-
paths = [
10-
'''uv\.lock$''',
11-
'''venv/''',
12-
'''\.venv/''',
13-
'''\.ruff_cache/''',
14-
]
9+
paths = ['''uv\.lock$''', '''venv/''', '''\.venv/''', '''\.ruff_cache/''']

pyproject.toml

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,25 @@ version = "2.3.1"
44
description = "agents performing actions on your SaaS"
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
authors = [
8-
{ name = "StackOne", email = "support@stackone.com" }
9-
]
7+
authors = [{ name = "StackOne", email = "support@stackone.com" }]
108
classifiers = [
11-
"Development Status :: 4 - Beta",
12-
"Intended Audience :: Developers",
13-
"License :: OSI Approved :: MIT License",
14-
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.10",
16-
"Programming Language :: Python :: 3.11",
17-
"Programming Language :: Python :: 3.12",
18-
"Programming Language :: Python :: 3.13",
19-
"Topic :: Software Development :: Libraries :: Python Modules",
9+
"Development Status :: 4 - Beta",
10+
"Intended Audience :: Developers",
11+
"License :: OSI Approved :: MIT License",
12+
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Topic :: Software Development :: Libraries :: Python Modules",
2018
]
2119
dependencies = [
22-
"pydantic>=2.10.6",
23-
"httpx>=0.28.0",
24-
"langchain-core>=0.1.0",
25-
"bm25s>=0.2.2",
26-
"numpy>=1.24.0",
27-
"typing-extensions>=4.0.0",
20+
"pydantic>=2.10.6",
21+
"httpx>=0.28.0",
22+
"langchain-core>=0.1.0",
23+
"bm25s>=0.2.2",
24+
"numpy>=1.24.0",
25+
"typing-extensions>=4.0.0",
2826
]
2927

3028
[build-system]
@@ -38,36 +36,34 @@ packages = ["stackone_ai"]
3836
"stackone_ai/py.typed" = "stackone_ai/py.typed"
3937

4038
[project.optional-dependencies]
41-
mcp = [
42-
"mcp>=1.3.0",
43-
]
39+
mcp = ["mcp>=1.3.0"]
4440
examples = [
45-
"crewai>=0.102.0",
46-
"langchain-openai>=0.3.6",
47-
"langgraph>=0.2.0",
48-
"openai>=1.63.2",
49-
"python-dotenv>=1.0.1",
41+
"crewai>=0.102.0",
42+
"langchain-openai>=0.3.6",
43+
"langgraph>=0.2.0",
44+
"openai>=1.63.2",
45+
"python-dotenv>=1.0.1",
5046
]
5147

5248
[dependency-groups]
5349
dev = [
54-
"hypothesis>=6.141.1",
55-
"pytest>=8.3.4",
56-
"pytest-asyncio>=0.25.3",
57-
"pytest-cov>=6.0.0",
58-
"pytest-snapshot>=0.9.0",
59-
"respx>=0.22.0",
60-
"ruff>=0.9.6",
61-
"stackone-ai",
62-
"ty>=0.0.3",
50+
"hypothesis>=6.141.1",
51+
"pytest>=8.3.4",
52+
"pytest-asyncio>=0.25.3",
53+
"pytest-cov>=6.0.0",
54+
"pytest-snapshot>=0.9.0",
55+
"respx>=0.22.0",
56+
"ruff>=0.9.6",
57+
"stackone-ai",
58+
"ty>=0.0.3",
6359
]
6460

6561
[tool.pytest.ini_options]
6662
asyncio_mode = "strict"
6763
asyncio_default_fixture_loop_scope = "function"
6864
markers = [
69-
"asyncio: mark test as async",
70-
"integration: mark test as integration test requiring MCP mock server",
65+
"asyncio: mark test as async",
66+
"integration: mark test as integration test requiring MCP mock server",
7167
]
7268

7369
[tool.ruff.lint.per-file-ignores]
@@ -82,30 +78,27 @@ target-version = "py310"
8278

8379
[tool.ruff.lint]
8480
select = [
85-
"E", # pycodestyle errors
86-
"W", # pycodestyle warnings
87-
"F", # pyflakes
88-
"I", # isort
89-
"B", # flake8-bugbear
90-
"C4", # flake8-comprehensions
91-
"UP", # pyupgrade
81+
"E", # pycodestyle errors
82+
"W", # pycodestyle warnings
83+
"F", # pyflakes
84+
"I", # isort
85+
"B", # flake8-bugbear
86+
"C4", # flake8-comprehensions
87+
"UP", # pyupgrade
9288
]
9389

9490
[tool.coverage.run]
9591
source = ["stackone_ai"]
9692
branch = true
97-
omit = [
98-
"stackone_ai/__init__.py",
99-
"**/py.typed",
100-
]
93+
omit = ["stackone_ai/__init__.py", "**/py.typed"]
10194

10295
[tool.coverage.report]
10396
exclude_lines = [
104-
"pragma: no cover",
105-
"def __repr__",
106-
"raise NotImplementedError",
107-
"if TYPE_CHECKING:",
108-
"if typing.TYPE_CHECKING:",
97+
"pragma: no cover",
98+
"def __repr__",
99+
"raise NotImplementedError",
100+
"if TYPE_CHECKING:",
101+
"if typing.TYPE_CHECKING:",
109102
]
110103

111104
[tool.coverage.json]

0 commit comments

Comments
 (0)