@@ -94,10 +94,10 @@ build = [
9494]
9595
9696[tool .setuptools ]
97- include-package-data = false
98- package-data.supervision = [ " py.typed" ]
9997packages.find.where = [ " src" ]
10098packages.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"
178178lint.pylint.max-args = 20
179179
180180[tool .codespell ]
181+ ignore-words-list = " STrack,sTrack,strack"
181182skip = " *.ipynb"
182183count = true
183184quiet-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"
189188explicit_package_bases = true
189+ ignore_missing_imports = false
190+ python_version = " 3.9"
190191strict = true
191- mypy_path = " src"
192192overrides = [
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" ]
206207ini_options.addopts = [
207208 " --doctest-modules" ,
208209 " --color=yes" ,
209210]
210211ini_options.doctest_optionflags = " ELLIPSIS NORMALIZE_WHITESPACE"
211- ini_options.norecursedirs = [ " examples" , " docs" , " notebooks" , " .venv" , " .git" , " dist" , " build" ]
212212
213213[tool .autoflake ]
214214check = true
0 commit comments