Skip to content

Commit

Permalink
chore: Replace general Ruff F401 exclusion with per-line-ignore
Browse files Browse the repository at this point in the history
F401 ignores should be per-line and explicit rather than per-file and implicit.

Closes: #34
  • Loading branch information
lu-pl committed Aug 26, 2024
1 parent e92bc3e commit d3512d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ fastapi = {extras = ["standard"], version = "^0.112.1"}
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


[tool.ruff]
lint.ignore = ["F401"]

[tool.deptry.package_module_name_map]
sparqlwrapper = "SPARQLWrapper"

Expand Down
8 changes: 4 additions & 4 deletions rdfproxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from rdfproxy.adapter import SPARQLModelAdapter
from rdfproxy.utils._types import _TModelConstructorCallable, _TModelInstance
from rdfproxy.adapter import SPARQLModelAdapter # noqa: F401
from rdfproxy.utils._types import _TModelConstructorCallable, _TModelInstance # noqa: F401
from rdfproxy.utils.utils import (
get_bindings_from_query_result,
instantiate_model_from_kwargs,
get_bindings_from_query_result, # noqa: F401
instantiate_model_from_kwargs, # noqa: F401
)

0 comments on commit d3512d6

Please sign in to comment.