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

MAINT: silence ruff deprecation warning #20070

Merged
merged 1 commit into from Feb 11, 2024
Merged

Conversation

lucascolley
Copy link
Member

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `tools/lint.toml`:
  - 'dummy-variable-rgx' -> 'lint.dummy-variable-rgx'
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
  - 'mccabe' -> 'lint.mccabe'
  - 'pydocstyle' -> 'lint.pydocstyle'
  - 'per-file-ignores' -> 'lint.per-file-ignores'

Silences the deprecation warning and slightly restructures the file to follow the ruff docs.

@github-actions github-actions bot added the maintenance Items related to regular maintenance tasks label Feb 11, 2024
@lucascolley lucascolley removed the request for review from larsoner February 11, 2024 12:15
@lucascolley lucascolley added this to the 1.13.0 milestone Feb 11, 2024
Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucascolley

@j-bowhay j-bowhay merged commit d89f221 into scipy:main Feb 11, 2024
25 of 27 checks passed
@lucascolley lucascolley deleted the lint-fail branch February 11, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants