OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.76k stars 470 forks source link

Ruff linter not linting content from the "software" directory #208

Closed dheavy closed 3 months ago

dheavy commented 3 months ago

Describe the bug The ruff linter isn't applied to the software directory

To Reproduce Steps to reproduce the behavior:

  1. Make a change to directory that will elicit a git diff
  2. Make a commit to trigger the pre-commit hook
  3. Notice the linter sees nothing
  4. cd into the software directory and run ruff .
  5. See the changes it is proposing, contrary to what happened on step 3

Expected behavior Given the bulk of the Python code is in the software directory, it's expected that it would be covered by the linter. The sooner this is done, the easier it will be to streamline contributions.

Desktop (please complete the following information):