RDFLib / rdflib

RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
https://rdflib.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.15k stars 555 forks source link

fix: ruff deprecation warning #2803

Closed wallberg closed 2 months ago

wallberg commented 3 months ago

Summary of changes

Fix ruff deprecation warning

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'
  - 'per-file-ignores' -> 'lint.per-file-ignores'

Checklist

coveralls commented 3 months ago

Coverage Status

coverage: 91.03%. remained the same when pulling e9cbfb2043899e8386b7f096772b4ec048dd51a6 on wallberg:fix-ruff into 0ecc40009ae397c2798c0c08a2d751a1a9d2f8a7 on RDFLib:main.

ashleysommer commented 2 months ago

@wallberg Thanks for the fix. Unfortunately I didn't see this here, I already made this fix along with a bunch of other Ruff updates this afternoon.