diff --git a/README.rst b/README.rst index ccdbca8e4..8b43ad9c8 100644 --- a/README.rst +++ b/README.rst @@ -12,17 +12,17 @@ jsonschema :alt: Supported Python versions :target: https://pypi.org/project/jsonschema/ -.. |CI| image:: https://github.com/Julian/jsonschema/workflows/CI/badge.svg +.. |CI| image:: https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg :alt: Build status - :target: https://github.com/Julian/jsonschema/actions?query=workflow%3ACI + :target: https://github.com/python-jsonschema/jsonschema/actions?query=workflow%3ACI .. |ReadTheDocs| image:: https://readthedocs.org/projects/python-jsonschema/badge/?version=stable&style=flat :alt: ReadTheDocs status :target: https://python-jsonschema.readthedocs.io/en/stable/ -.. |Precommit| image:: https://results.pre-commit.ci/badge/github/Julian/jsonschema/main.svg +.. |Precommit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/jsonschema/main.svg :alt: pre-commit.ci status - :target: https://results.pre-commit.ci/latest/github/Julian/jsonschema/main + :target: https://results.pre-commit.ci/latest/github/python-jsonschema/jsonschema/main .. |Zenodo| image:: https://zenodo.org/badge/3072629.svg :target: https://zenodo.org/badge/latestdoi/3072629 @@ -130,7 +130,7 @@ Contributing I'm Julian Berman. -``jsonschema`` is on `GitHub `_. +``jsonschema`` is on `GitHub `_. Get in touch, via GitHub or otherwise, if you've got something to contribute, it'd be most welcome! diff --git a/docs/conf.py b/docs/conf.py index 2fba1b719..c07be7870 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -239,8 +239,8 @@ def entire_domain(host): linkcheck_ignore = [ - "https://github.com/Julian/jsonschema/actions", - "https://github.com/Julian/jsonschema/workflows/CI/badge.svg", + "https://github.com/python-jsonschema/jsonschema/actions", + "https://github.com/python-jsonschema/jsonschema/workflows/CI/badge.svg", ] # -- Options for sphinxcontrib-autosectionlabel --------------------------- diff --git a/jsonschema/_format.py b/jsonschema/_format.py index 5f99c6599..bd8377f35 100644 --- a/jsonschema/_format.py +++ b/jsonschema/_format.py @@ -189,8 +189,7 @@ def wrap(func): ) # Oy. This is bad global state, but relied upon for now, until - # deprecation. See https://github.com/Julian/jsonschema/issues/519 - # and test_format_checkers_come_with_defaults + # deprecation. See #519 and test_format_checkers_come_with_defaults FormatChecker.cls_checks( draft202012 or draft201909 or draft7 or draft6 or draft4 or draft3, raises, diff --git a/jsonschema/benchmarks/issue232.py b/jsonschema/benchmarks/issue232.py index 779f5224f..bf357e911 100644 --- a/jsonschema/benchmarks/issue232.py +++ b/jsonschema/benchmarks/issue232.py @@ -1,7 +1,7 @@ """ A performance benchmark using the example from issue #232. -See https://github.com/Julian/jsonschema/pull/232. +See https://github.com/python-jsonschema/jsonschema/pull/232. """ from pathlib import Path diff --git a/jsonschema/tests/test_exceptions.py b/jsonschema/tests/test_exceptions.py index 153b72e43..dc5a664da 100644 --- a/jsonschema/tests/test_exceptions.py +++ b/jsonschema/tests/test_exceptions.py @@ -209,7 +209,7 @@ def test_strong_validators_are_higher_priority(self): class TestErrorTree(TestCase): def test_it_knows_how_many_total_errors_it_contains(self): - # FIXME: https://github.com/Julian/jsonschema/issues/442 + # FIXME: #442 errors = [ exceptions.ValidationError("Something", validator=i) for i in range(8) @@ -446,9 +446,9 @@ def test_uses_pprint(self): def test_str_works_with_instances_having_overriden_eq_operator(self): """ - Check for https://github.com/Julian/jsonschema/issues/164 which - rendered exceptions unusable when a `ValidationError` involved - instances with an `__eq__` method that returned truthy values. + Check for #164 which rendered exceptions unusable when a + `ValidationError` involved instances with an `__eq__` method + that returned truthy values. """ class DontEQMeBro(object): diff --git a/jsonschema/tests/test_validators.py b/jsonschema/tests/test_validators.py index 8b69a69bc..0785f617e 100644 --- a/jsonschema/tests/test_validators.py +++ b/jsonschema/tests/test_validators.py @@ -1411,7 +1411,7 @@ def test_enum_allows_empty_arrays(self): """ Technically, all the spec says is they SHOULD have elements, not MUST. - See https://github.com/Julian/jsonschema/issues/529. + See #529. """ self.Validator.check_schema({"enum": []}) @@ -1419,7 +1419,7 @@ def test_enum_allows_non_unique_items(self): """ Technically, all the spec says is they SHOULD be unique, not MUST. - See https://github.com/Julian/jsonschema/issues/529. + See #529. """ self.Validator.check_schema({"enum": [12, 12]}) @@ -1552,7 +1552,7 @@ def test_it_properly_formats_tuples_in_errors(self): """ A tuple instance properly formats validation errors for uniqueItems. - See https://github.com/Julian/jsonschema/pull/224 + See #224 """ TupleValidator = validators.extend( self.Validator, diff --git a/setup.cfg b/setup.cfg index 1e5b76be5..3b8042ad5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] name = jsonschema -url = https://github.com/Julian/jsonschema +url = https://github.com/python-jsonschema/jsonschema project_urls = Documentation = https://python-jsonschema.readthedocs.io/en/latest/ - Source = https://github.com/Julian/jsonschema - Issues = https://github.com/Julian/jsonschema/issues/ + Source = https://github.com/python-jsonschema/jsonschema + Issues = https://github.com/python-jsonschema/jsonschema/issues/ description = An implementation of JSON Schema validation for Python long_description = file: README.rst long_description_content_type = text/x-rst