Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.14.z] Fix ruff deprecation warnings #1221

Merged

Commits on Aug 29, 2024

  1. Fix ruff deprecation warnings (#1212)

    Fixing:
    ```
    $ ruff check .
    warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
      - 'fixable' -> 'lint.fixable'
      - 'ignore' -> 'lint.ignore'
      - 'select' -> 'lint.select'
      - 'flake8-pytest-style' -> 'lint.flake8-pytest-style'
      - 'isort' -> 'lint.isort'
      - 'mccabe' -> 'lint.mccabe'
      - 'per-file-ignores' -> 'lint.per-file-ignores'
    warning: `PGH001` has been remapped to `S307`.
    warning: `TRY200` has been remapped to `B904`.
    ```
    
    I removed `PGH001` as `S307` is in the `select` section already
    
    (cherry picked from commit 5d8d770)
    ogajduse authored and web-flow committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f5739d7 View commit details
    Browse the repository at this point in the history