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

Replace deprecated ruff options in pyproject.toml #1976

Merged

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Feb 18, 2024

Changes

  • s/ignore/lint.ignore/
  • s/select/lint.select/
  • s/show-source = "true"/output-format = "full"/

Why

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`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
warning: The `show-source` option has been deprecated in favor of `output-format`'s "full" and "concise" variants. Please update your configuration to use `output-format = <full|concise>` instead.

* s/ignore/lint.ignore/

* s/select/lint.select/

* s/show-source = "true"/output-format = "full"/
@einarf einarf merged commit 4dbeb98 into pythonarcade:development Feb 18, 2024
7 checks passed
@pushfoo pushfoo deleted the update_deprecated_ruff_config branch February 19, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants