Skip to content

Commit

Permalink
ci: Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed May 3, 2024
1 parent 067f260 commit e75b030
Show file tree
Hide file tree
Showing 131 changed files with 437 additions and 437 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default_install_hook_types: [commit-msg, pre-commit]
default_stages: [commit, merge-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -26,15 +26,15 @@ repos:
- id: fix-byte-order-marker
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.2
rev: v1.7.5
hooks:
- id: docformatter
additional_dependencies:
Expand All @@ -47,7 +47,7 @@ repos:
additional_dependencies:
- pydocstyle[toml]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -56,7 +56,7 @@ repos:
- types-python-dateutil
- attrs
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.1
rev: v1.5.5
hooks:
- id: insert-license
name: Insert license headers (shell-style comments)
Expand Down Expand Up @@ -99,10 +99,10 @@ repos:
- --comment-style
- '..| |'
- repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2
rev: v3.0.2
hooks:
- id: reuse
- repo: https://github.com/qoomon/git-conventional-commits
rev: v2.6.4
rev: v2.6.7
hooks:
- id: conventional-commits
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def to_dict(self) -> Dict[str, Any]:
if target_document_name is not UNSET:
field_dict["targetDocumentName"] = target_document_name
if copy_workflow_status_and_signatures is not UNSET:
field_dict[
"copyWorkflowStatusAndSignatures"
] = copy_workflow_status_and_signatures
field_dict["copyWorkflowStatusAndSignatures"] = (
copy_workflow_status_and_signatures
)
if query is not UNSET:
field_dict["query"] = query

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def to_dict(self) -> Dict[str, Any]:
if target_document_name is not UNSET:
field_dict["targetDocumentName"] = target_document_name
if copy_workflow_status_and_signatures is not UNSET:
field_dict[
"copyWorkflowStatusAndSignatures"
] = copy_workflow_status_and_signatures
field_dict["copyWorkflowStatusAndSignatures"] = (
copy_workflow_status_and_signatures
)
if query is not UNSET:
field_dict["query"] = query
if target_document_title is not UNSET:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def to_dict(self) -> Dict[str, Any]:
if remove_outgoing_links is not UNSET:
field_dict["removeOutgoingLinks"] = remove_outgoing_links
if link_original_items_with_role is not UNSET:
field_dict[
"linkOriginalItemsWithRole"
] = link_original_items_with_role
field_dict["linkOriginalItemsWithRole"] = (
link_original_items_with_role
)

return field_dict

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class DocumentAttachmentsListGetResponse:
"""

meta: Union[Unset, "DocumentAttachmentsListGetResponseMeta"] = UNSET
data: Union[
Unset, List["DocumentAttachmentsListGetResponseDataItem"]
] = UNSET
data: Union[Unset, List["DocumentAttachmentsListGetResponseDataItem"]] = (
UNSET
)
included: Union[
Unset, List["DocumentAttachmentsListGetResponseIncludedItem"]
] = UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ class DocumentAttachmentsListGetResponseDataItem:
relationships: Union[
Unset, "DocumentAttachmentsListGetResponseDataItemRelationships"
] = UNSET
meta: Union[
Unset, "DocumentAttachmentsListGetResponseDataItemMeta"
] = UNSET
links: Union[
Unset, "DocumentAttachmentsListGetResponseDataItemLinks"
] = UNSET
meta: Union[Unset, "DocumentAttachmentsListGetResponseDataItemMeta"] = (
UNSET
)
links: Union[Unset, "DocumentAttachmentsListGetResponseDataItemLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class DocumentAttachmentsListPostRequest:
data (Union[Unset, List['DocumentAttachmentsListPostRequestDataItem']]):
"""

data: Union[
Unset, List["DocumentAttachmentsListPostRequestDataItem"]
] = UNSET
data: Union[Unset, List["DocumentAttachmentsListPostRequestDataItem"]] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class DocumentAttachmentsListPostResponse:
data (Union[Unset, List['DocumentAttachmentsListPostResponseDataItem']]):
"""

data: Union[
Unset, List["DocumentAttachmentsListPostResponseDataItem"]
] = UNSET
data: Union[Unset, List["DocumentAttachmentsListPostResponseDataItem"]] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class DocumentAttachmentsListPostResponseDataItem:

type: Union[Unset, DocumentAttachmentsListPostResponseDataItemType] = UNSET
id: Union[Unset, str] = UNSET
links: Union[
Unset, "DocumentAttachmentsListPostResponseDataItemLinks"
] = UNSET
links: Union[Unset, "DocumentAttachmentsListPostResponseDataItemLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ class DocumentAttachmentsSingleGetResponseData:
Unset, "DocumentAttachmentsSingleGetResponseDataRelationships"
] = UNSET
meta: Union[Unset, "DocumentAttachmentsSingleGetResponseDataMeta"] = UNSET
links: Union[
Unset, "DocumentAttachmentsSingleGetResponseDataLinks"
] = UNSET
links: Union[Unset, "DocumentAttachmentsSingleGetResponseDataLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class DocumentCommentsListPostResponse:
data (Union[Unset, List['DocumentCommentsListPostResponseDataItem']]):
"""

data: Union[
Unset, List["DocumentCommentsListPostResponseDataItem"]
] = UNSET
data: Union[Unset, List["DocumentCommentsListPostResponseDataItem"]] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class DocumentCommentsListPostResponseDataItem:

type: Union[Unset, DocumentCommentsListPostResponseDataItemType] = UNSET
id: Union[Unset, str] = UNSET
links: Union[
Unset, "DocumentCommentsListPostResponseDataItemLinks"
] = UNSET
links: Union[Unset, "DocumentCommentsListPostResponseDataItemLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class DocumentsListPostRequestDataItem:
"""

type: Union[Unset, DocumentsListPostRequestDataItemType] = UNSET
attributes: Union[
Unset, "DocumentsListPostRequestDataItemAttributes"
] = UNSET
attributes: Union[Unset, "DocumentsListPostRequestDataItemAttributes"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class DocumentsSingleGetResponse:
"""

data: Union[Unset, "DocumentsSingleGetResponseData"] = UNSET
included: Union[
Unset, List["DocumentsSingleGetResponseIncludedItem"]
] = UNSET
included: Union[Unset, List["DocumentsSingleGetResponseIncludedItem"]] = (
UNSET
)
links: Union[Unset, "DocumentsSingleGetResponseLinks"] = UNSET
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class DocumentsSingleGetResponseData:
type: Union[Unset, DocumentsSingleGetResponseDataType] = UNSET
id: Union[Unset, str] = UNSET
revision: Union[Unset, str] = UNSET
attributes: Union[
Unset, "DocumentsSingleGetResponseDataAttributes"
] = UNSET
attributes: Union[Unset, "DocumentsSingleGetResponseDataAttributes"] = (
UNSET
)
relationships: Union[
Unset, "DocumentsSingleGetResponseDataRelationships"
] = UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def to_dict(self) -> Dict[str, Any]:
if auto_suspect is not UNSET:
field_dict["autoSuspect"] = auto_suspect
if branched_with_initialized_fields is not UNSET:
field_dict[
"branchedWithInitializedFields"
] = branched_with_initialized_fields
field_dict["branchedWithInitializedFields"] = (
branched_with_initialized_fields
)
if branched_with_query is not UNSET:
field_dict["branchedWithQuery"] = branched_with_query
if created is not UNSET:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class DocumentsSinglePatchRequestData:

type: Union[Unset, DocumentsSinglePatchRequestDataType] = UNSET
id: Union[Unset, str] = UNSET
attributes: Union[
Unset, "DocumentsSinglePatchRequestDataAttributes"
] = UNSET
attributes: Union[Unset, "DocumentsSinglePatchRequestDataAttributes"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class DocumentsSinglePostResponseData:

type: Union[Unset, DocumentsSinglePostResponseDataType] = UNSET
id: Union[Unset, str] = UNSET
attributes: Union[
Unset, "DocumentsSinglePostResponseDataAttributes"
] = UNSET
attributes: Union[Unset, "DocumentsSinglePostResponseDataAttributes"] = (
UNSET
)
relationships: Union[
Unset, "DocumentsSinglePostResponseDataRelationships"
] = UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def to_dict(self) -> Dict[str, Any]:
if auto_suspect is not UNSET:
field_dict["autoSuspect"] = auto_suspect
if branched_with_initialized_fields is not UNSET:
field_dict[
"branchedWithInitializedFields"
] = branched_with_initialized_fields
field_dict["branchedWithInitializedFields"] = (
branched_with_initialized_fields
)
if branched_with_query is not UNSET:
field_dict["branchedWithQuery"] = branched_with_query
if created is not UNSET:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def to_dict(self) -> Dict[str, Any]:
if min_value is not UNSET:
field_dict["minValue"] = min_value
if requires_signature_for_test_case_execution is not UNSET:
field_dict[
"requiresSignatureForTestCaseExecution"
] = requires_signature_for_test_case_execution
field_dict["requiresSignatureForTestCaseExecution"] = (
requires_signature_for_test_case_execution
)
if terminal is not UNSET:
field_dict["terminal"] = terminal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def to_dict(self) -> Dict[str, Any]:
if min_value is not UNSET:
field_dict["minValue"] = min_value
if requires_signature_for_test_case_execution is not UNSET:
field_dict[
"requiresSignatureForTestCaseExecution"
] = requires_signature_for_test_case_execution
field_dict["requiresSignatureForTestCaseExecution"] = (
requires_signature_for_test_case_execution
)
if terminal is not UNSET:
field_dict["terminal"] = terminal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class EnumerationsSingleGetResponseData:
type: Union[Unset, EnumerationsSingleGetResponseDataType] = UNSET
id: Union[Unset, str] = UNSET
revision: Union[Unset, str] = UNSET
attributes: Union[
Unset, "EnumerationsSingleGetResponseDataAttributes"
] = UNSET
attributes: Union[Unset, "EnumerationsSingleGetResponseDataAttributes"] = (
UNSET
)
meta: Union[Unset, "EnumerationsSingleGetResponseDataMeta"] = UNSET
links: Union[Unset, "EnumerationsSingleGetResponseDataLinks"] = UNSET
additional_properties: Dict[str, Any] = _attrs_field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def to_dict(self) -> Dict[str, Any]:
if min_value is not UNSET:
field_dict["minValue"] = min_value
if requires_signature_for_test_case_execution is not UNSET:
field_dict[
"requiresSignatureForTestCaseExecution"
] = requires_signature_for_test_case_execution
field_dict["requiresSignatureForTestCaseExecution"] = (
requires_signature_for_test_case_execution
)
if terminal is not UNSET:
field_dict["terminal"] = terminal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def to_dict(self) -> Dict[str, Any]:
if min_value is not UNSET:
field_dict["minValue"] = min_value
if requires_signature_for_test_case_execution is not UNSET:
field_dict[
"requiresSignatureForTestCaseExecution"
] = requires_signature_for_test_case_execution
field_dict["requiresSignatureForTestCaseExecution"] = (
requires_signature_for_test_case_execution
)
if terminal is not UNSET:
field_dict["terminal"] = terminal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class ExternallylinkedworkitemsListGetResponse:
included: Union[
Unset, List["ExternallylinkedworkitemsListGetResponseIncludedItem"]
] = UNSET
links: Union[
Unset, "ExternallylinkedworkitemsListGetResponseLinks"
] = UNSET
links: Union[Unset, "ExternallylinkedworkitemsListGetResponseLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ class ExternallylinkedworkitemsSingleGetResponse:
links (Union[Unset, ExternallylinkedworkitemsSingleGetResponseLinks]):
"""

data: Union[
Unset, "ExternallylinkedworkitemsSingleGetResponseData"
] = UNSET
data: Union[Unset, "ExternallylinkedworkitemsSingleGetResponseData"] = (
UNSET
)
included: Union[
Unset, List["ExternallylinkedworkitemsSingleGetResponseIncludedItem"]
] = UNSET
links: Union[
Unset, "ExternallylinkedworkitemsSingleGetResponseLinks"
] = UNSET
links: Union[Unset, "ExternallylinkedworkitemsSingleGetResponseLinks"] = (
UNSET
)
additional_properties: Dict[str, Any] = _attrs_field(
init=False, factory=dict
)
Expand Down
Loading

0 comments on commit e75b030

Please sign in to comment.