@@ -202,7 +202,7 @@ addopts = "--tb=short"
202202# --- Codespell configuration ---
203203[tool .codespell ]
204204check-filenames = true
205- skip = ' *.log,*.out,build,dist,*.pyc,*.class,*.git,*.vagrant,*.tox,*.egg-info,*.idea,* .vscode,_build,.doctrees,htmlcov,.venv,.mypy_cache,deb_dist'
205+ skip = ' *.log,*.out,build,dist,*.pyc,*.class,*.git,*.vagrant,*.tox,*.egg-info,*.idea,.vscode,_build,.doctrees,htmlcov,.venv,.mypy_cache,deb_dist,built_docs,.pytest_cache,.pdm-build '
206206ignore-words-list = ' ether,Expresso,expresso,Espresso,espresso'
207207
208208
@@ -262,8 +262,6 @@ select = [
262262
263263# Linting error codes to ignore
264264ignore = [
265- " ANN101" , # missing-type-self
266- " ANN102" , # missing-type-cls
267265 " RET505" , # unnecessary 'else' after 'return' statement
268266 " PLW0603" , # Using the global statement to update is discouraged
269267 " PLW2901" , # for loop variable overwritten by assignment target
@@ -273,6 +271,7 @@ ignore = [
273271 # "PLC1901", # compare-to-empty-string
274272 " RUF012" , # Mutable class attributes should be annotated with typing.ClassVar
275273 " S603" , # subprocess-without-shell-equals-true
274+ " PLC0415" , # import should be at the top-level of a file (getmac uses imports in functions)
276275]
277276
278277[tool .ruff .lint .per-file-ignores ]
0 commit comments