Skip to content

Commit 22c19e6

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent e0e632d commit 22c19e6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎pyproject.toml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ build = [
9494
]
9595

9696
[tool.setuptools]
97-
include-package-data = false
98-
package-data.supervision = [ "py.typed" ]
9997
packages.find.where = [ "src" ]
10098
packages.find.include = [ "supervision*" ]
99+
include-package-data = false
100+
package-data.supervision = [ "py.typed" ]
101101

102102
# exclude = [ "docs*", "tests*", "examples*" ]
103103
[tool.ruff]
@@ -178,17 +178,17 @@ lint.pydocstyle.convention = "google"
178178
lint.pylint.max-args = 20
179179

180180
[tool.codespell]
181+
ignore-words-list = "STrack,sTrack,strack"
181182
skip = "*.ipynb"
182183
count = true
183184
quiet-level = 3
184-
ignore-words-list = "STrack,sTrack,strack"
185185

186186
[tool.mypy]
187-
python_version = "3.9"
188-
ignore_missing_imports = false
187+
mypy_path = "src"
189188
explicit_package_bases = true
189+
ignore_missing_imports = false
190+
python_version = "3.9"
190191
strict = true
191-
mypy_path = "src"
192192
overrides = [
193193
# exclude = [
194194
# "docs",
@@ -197,18 +197,18 @@ overrides = [
197197
# "setup.py",
198198
# ]
199199
{ module = [
200-
"tests.*",
201200
"examples.*",
201+
"tests.*",
202202
], ignore_errors = true },
203203
]
204204

205205
[tool.pytest]
206+
ini_options.norecursedirs = [ ".git", ".venv", "build", "dist", "docs", "examples", "notebooks" ]
206207
ini_options.addopts = [
207208
"--doctest-modules",
208209
"--color=yes",
209210
]
210211
ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
211-
ini_options.norecursedirs = [ "examples", "docs", "notebooks", ".venv", ".git", "dist", "build" ]
212212

213213
[tool.autoflake]
214214
check = true

0 commit comments

Comments
 (0)