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

Ruff fixes #2842

Closed ashleysommer closed 2 months ago

ashleysommer commented 2 months ago

Last week saw Dependabot bump Ruff from 0.4.1 to 0.5.2, thats 12 releases, then yesterday bumped it from 0.5.2 to 0.5.4, another two releases. In that jump of 14 releases, there were a bunch of fixes to Ruff, that caused some of RDFLib's files to need to be fixed.

The biggest change is now Ruff doesn't think "test" is a system module (which is correct) so now the isort feature sorts test in with the rest of the user's local modules.

There was also an update to the settings names in the pyproject.toml to stop Ruff from complaining about using the wrong settings names.

coveralls commented 2 months ago

Coverage Status

coverage: 91.04%. remained the same when pulling c03eddcf75c1d68ccd2ca5893424faa9ab9d1c19 on ruff-fixes into a7865e9b1f542310c45884a62feaec9340011944 on main.

ashleysommer commented 2 months ago

Finally passed.