File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,3 +23,10 @@ repos:
2323 rev : v1.11.2
2424 hooks :
2525 - id : mypy
26+ - repo : https://github.com/codespell-project/codespell
27+ rev : v2.2.4
28+ hooks :
29+ - id : codespell
30+ additional_dependencies :
31+ - tomli
32+ args : [--write-changes]
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Code style
2525----------
2626
2727We use `ruff <https://docs.astral.sh/ruff/ >`_ along with other tools to format our code.
28- Please run ``tox -e style `` on your patches before submiting them.
28+ Please run ``tox -e style `` on your patches before submitting them.
2929In order to perform a style check and correction at each commit you can use our
3030`pre-commit <https://pre-commit.com/ >`_ configuration with ``pre-commit install ``.
3131
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ Pre-defined Error objects
264264 ... ' status' : ' 400'
265265 ... }
266266
267- The exhaustive list is availaible in the :class: `reference <scim2_models.Error> `.
267+ The exhaustive list is available in the :class: `reference <scim2_models.Error> `.
268268
269269
270270Custom models
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def validate_attribute_urn(
4949) -> str :
5050 """Validate that an attribute urn is valid or not.
5151
52- :parm attribute_name: The attribute urn to check.
52+ :param attribute_name: The attribute urn to check.
5353 :default_resource: The default resource if `attribute_name` is not an absolute urn.
5454 :resource_types: The available resources in which to look for the attribute.
5555 :return: The normalized attribute URN.
You can’t perform that action at this time.
0 commit comments