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

pyproject.toml: Move certain tool.ruff settings to tool.ruff.lint #3216

Closed
wants to merge 1 commit into from

Conversation

0cjs
Copy link
Contributor

@0cjs 0cjs commented Feb 6, 2024

tool.ruff.{select,isort,ignore,per-file-ignores} will soon be deprecated in favour of putting these under tool.ruff.lint. (See reverted PR #3214 for the complaint that appears in a more recent version of ruff.) Change these now to avoid complaints later.

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • [n/a] ensured there are test(s) validating the fix
  • [n/a] added news fragment in docs/changelog folder
  • [n/a] updated/extended the documentation

tool.ruff.{select,isort,ignore,per-file-ignores} will soon be deprecated in
favour of putting these under tool.ruff.lint. (See reverted PR tox-dev#3214 for
the complaint that appears in a more recent version of ruff.) Change these
now to avoid complaints later.
pyproject.toml Show resolved Hide resolved
@@ -103,11 +103,11 @@ build.targets.sdist.include = ["/src", "/tests", "/tox.ini"]
version.source = "vcs"

[tool.ruff]
select = ["ALL"]
lint.select = ["ALL"]
Copy link
Member

Choose a reason for hiding this comment

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

move this to the lint group below

@gaborbernat
Copy link
Member

Superseeded by #3226

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.

None yet

2 participants