Skip to content

Commit

Permalink
Give up on namespace packages.
Browse files Browse the repository at this point in the history
This didn't work right because referencing isn't one, given it
contains an __init__.py.

Nonsense... Just do the simpler thing and live with
the slight ugliness, this is all temporary.
  • Loading branch information
Julian committed Dec 4, 2023
1 parent 5156b6c commit cbc9889
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ROOT = Path(__file__).parent
PYPROJECT = ROOT / "pyproject.toml"
DOCS = ROOT / "docs"
PACKAGE = ROOT / "referencing"
PACKAGE = ROOT / "referencing_loaders"

REQUIREMENTS = dict(
docs=DOCS / "requirements.txt",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ docstring-quotes = "double"
[tool.ruff.per-file-ignores]
"noxfile.py" = ["ANN", "D100"]
"docs/*" = ["ANN", "D"]
"referencing/tests/*" = ["ANN", "D", "RUF012"]
"referencing_loaders/tests/*" = ["ANN", "D", "RUF012"]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import json

from referencing import Registry, loaders
from referencing import Registry
from referencing.jsonschema import EMPTY_REGISTRY

import referencing_loaders as loaders


def test_absolute_internally_identified(tmp_path):
root_path, root = tmp_path / "schema.json", {
Expand Down

0 comments on commit cbc9889

Please sign in to comment.