repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
  rev: "v0.2.2"
  hooks:
    - id: ruff
      args: ["--fix"]
    - id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.5.0
  hooks:
    - id: trailing-whitespace
    - id: end-of-file-fixer
    - id: fix-encoding-pragma
      args: [--remove]
    - id: check-yaml
    - id: debug-statements
      language_version: python3
- repo: local
  hooks:
    - id: pytest
      name: pytest
      entry: pytest 01OS/tests
      language: system
      types: [python]
      pass_filenames: false
      always_run: true
