File tree 4 files changed +10
-3
lines changed
4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,10 @@ repos:
23
23
rev : v1.11.2
24
24
hooks :
25
25
- 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
25
25
----------
26
26
27
27
We 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.
29
29
In order to perform a style check and correction at each commit you can use our
30
30
`pre-commit <https://pre-commit.com/ >`_ configuration with ``pre-commit install ``.
31
31
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ Pre-defined Error objects
264
264
... ' status' : ' 400'
265
265
... }
266
266
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> `.
268
268
269
269
270
270
Custom models
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def validate_attribute_urn(
49
49
) -> str :
50
50
"""Validate that an attribute urn is valid or not.
51
51
52
- :parm attribute_name: The attribute urn to check.
52
+ :param attribute_name: The attribute urn to check.
53
53
:default_resource: The default resource if `attribute_name` is not an absolute urn.
54
54
:resource_types: The available resources in which to look for the attribute.
55
55
:return: The normalized attribute URN.
You can’t perform that action at this time.
0 commit comments