• binaryriot@fediverser.communick.devB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I only experimented with it briefly (the old version and the new version I downloaded today). I don’t remember configuring anything, so I assume it runs like that by default:

      $ ruff config
      allowed-confusables
      builtins
      cache-dir
      dummy-variable-rgx
      exclude
      extend
      extend-exclude
      extend-ignore
      extend-select
      external
      fix
      fix-only
      fixable
      format
      force-exclude
      ignore
      ignore-init-module-imports
      line-length
      required-version
      respect-gitignore
      select
      show-source
      show-fixes
      src
      namespace-packages
      target-version
      task-tags
      typing-modules
      unfixable
      update-check
      flake8-annotations
      flake8-bandit
      flake8-bugbear
      flake8-builtins
      flake8-comprehensions
      flake8-errmsg
      flake8-quotes
      flake8-self
      flake8-tidy-imports
      flake8-type-checking
      flake8-gettext
      flake8-implicit-str-concat
      flake8-import-conventions
      flake8-pytest-style
      flake8-unused-arguments
      isort
      mccabe
      pep8-naming
      pycodestyle
      pydocstyle
      pylint
      pyupgrade
      per-file-ignores
      

      Certainly this will become more useful toned down to sane limits, but it needs time/ research/ reading lots of documentation(?) to sort that out. A more sane default would be nice, IMHO.

        • binaryriot@fediverser.communick.devB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          That’s interesting.

          After some digging I found a “ruff.toml” in an unusual place for a unix’y command line tool (~/Library/Application Support/ruff/ruff.toml)

          select = ["ALL"]
          ignore = []
          fixable = []
          unfixable = []
          

          I don’t know what put it there, certainly not my doing as far as I can remember. But that explains some things, I guess. 😱