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

Fix ruff deprecation warnings #1212

Merged
merged 1 commit into from
Aug 29, 2024

Commits on Aug 16, 2024

  1. Fix ruff deprecation warnings

    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
    ogajduse authored and Gauravtalreja1 committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    42d50a0 View commit details
    Browse the repository at this point in the history