1. 30 Jan, 2024 1 commit
    • Aarni Koskela's avatar
      Ruff fixes (#984) · 706ec24d
      Aarni Koskela authored
      
      
      * Adjust Ruff configuration
      
      * do not autofix always
      * be less strict around tests and benchmarks
      * adjust ignores for now
      
      * Ruff: autofix I and F401
      
      * Apply ruff autofixes
      
      * Fix RUF013 complaint
      
      * Fix mutable default in replace_linear
      
      * Don't use bare except
      
      * Wrap bitsandbytes.__main__ entrypoint in function; fix "sensible" typo
      
      * Fix ruff B008 (function call in arguments)
      
      * Add ruff noqas as suitable
      
      * Fix RUF005 (splat instead of concatenating)
      
      * Fix B018 (useless expression)
      
      * Add pre-commit configuration + GitHub Actions lint workflow
      
      * Fix unused `e` in bitsandbytes/__main__.py
      
      * fix merge conflict resolution error
      
      * run pre-commit hook
      
      ---------
      Co-authored-by: default avatarTitus <9048635+Titus-von-Koeller@users.noreply.github.com>
      706ec24d
  2. 29 Jan, 2024 1 commit
    • Aarni Koskela's avatar
      Fix some issues found by Mypy (#995) · a8c9dfa6
      Aarni Koskela authored
      * Fix erroneous type aliasing
      
      * Fix `Optional` typings (see PEP 484)
      
      * Add Mypy ignores
      
      * Fix Mypy complaints for method tables
      
      * Fix type for get_ptr
      
      * Fix various Mypy errors
      
      * Fix missed call to is_triton_available
      a8c9dfa6
  3. 03 Dec, 2023 1 commit
  4. 06 Oct, 2021 1 commit