superlint/TEMPLATES/.ruff.toml
Marco Ferrari 56e675bd33
fix: configure ruff with a temp cache (#5548)
- Configure Ruff to store its cache in a temporary directory inside the
  container by default. Users can still override this by providing a
  configuration file for Ruff.
- Add tests to ensure that super-linter deletes temporary files and
  directories.

Close #5543
2024-04-22 11:40:23 +02:00

8 lines
136 B
TOML

# Store the cache in a temporary location
cache-dir = "/tmp/.ruff_cache"
# Same as .flake8
line-length = 120
[lint]
ignore = ["E203"]