Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
- id: end-of-file-fixer
- id: trailing-whitespace
+ - repo: https://github.com/crate-ci/typos
+ rev: bbaefadf97b0ec5fdc942684b647f1a6ab250274 # v1.46.0
+ hooks:
+ - id: typos
+ args: [--force-exclude]
+
- repo: local
hooks:
- id: local-ruff-check
3. Use a `with` block to create a `Session` using the `engine`.
- The new **sesion** will be assigned to the variable `session`.
+ The new **session** will be assigned to the variable `session`.
And it will be automatically closed when the `with` block is finished.
[tool.ty.terminal]
error-on-warning = true
+
+[tool.typos.files]
+extend-exclude = [
+ "coverage/",
+ "dist/",
+ "docs/img/",
+ "docs/release-notes.md",
+ "htmlcov/",
+ "site/",
+ "site_build/",
+ "uv.lock",
+]
+
+[tool.typos.default.extend-identifiers]
+alls = "alls"
+
+[tool.typos.default.extend-words]
+Ines = "Ines"
+selectin = "selectin"