Skip to content

Commit

Permalink
Update hyperlinks from the GitHub organization move.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Mar 21, 2022
1 parent aa1ef4b commit 2e28324
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 20 deletions.
10 changes: 5 additions & 5 deletions README.rst
Expand Up @@ -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
Expand Down Expand Up @@ -130,7 +130,7 @@ Contributing

I'm Julian Berman.

``jsonschema`` is on `GitHub <https://github.com/Julian/jsonschema>`_.
``jsonschema`` is on `GitHub <https://github.com/python-jsonschema/jsonschema>`_.

Get in touch, via GitHub or otherwise, if you've got something to contribute,
it'd be most welcome!
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -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 ---------------------------
Expand Down
3 changes: 1 addition & 2 deletions jsonschema/_format.py
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
8 changes: 4 additions & 4 deletions jsonschema/tests/test_exceptions.py
Expand Up @@ -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)
Expand Down Expand Up @@ -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):
Expand Down
6 changes: 3 additions & 3 deletions jsonschema/tests/test_validators.py
Expand Up @@ -1411,15 +1411,15 @@ 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": []})

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]})

Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions 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
Expand Down

0 comments on commit 2e28324

Please sign in to comment.