content: [tool.ruff]
  line-length = 88
  target-version = "py313"
  
  lint.select = ["ALL"]
  lint.ignore = [
    # pydocstyle
    "D",
    # todo comments
    "TD",
    # fixmes
    "FIX",
  
    # Unused function argument
    "ARG001",
  
    # Dynamically typed expressions (typing.Any)
    "ANN401",
    # Trailing comma missing
    "COM812",
    # Unnecessary `dict` call (rewrite as a literal)
    "C408",
    # Found commented-out code
    "ERA001",
    # Boolean-typed positional argument in function definition
    "FBT001",
    # Logging statement uses f-string
    "G004",
    # disabled on ruff's recommendation as causes problems with the formatter
    "ISC001",
    # Use of `assert` detected
    "S101",
    # `subprocess` call: check for execution of untrusted input
    "S603",
    # Starting a process with a partial executable path
    "S607",
    # Boolean default positional argument in function definition
    "FBT002",
  
    "E501",    # line too long
    "T201",    # `print` found
    "PLR2004", # Magic value used in comparison
  ]
  exclude = ["zsh/*", "gdb/*"]
  
  [tool.mypy]
  python_version = "3.13"
  warn_redundant_casts = true
  strict = true
  disallow_untyped_calls = true
  disallow_untyped_defs = true
  no_implicit_optional = true
  exclude = ["gdb/", "zsh/"]
  
  [[tool.mypy.overrides]]
  module = "setuptools.*"
  ignore_missing_imports = true
  
  [[tool.mypy.overrides]]
  module = "pytest.*"
  ignore_missing_imports = true
  