Skip to content

Commit f07e022

Browse files
committedAug 24, 2023
fix: formatting and unused imports
Signed-off-by: Daniel Bluhm <[email protected]>
1 parent 6e672a8 commit f07e022

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 
File renamed without changes.

‎.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ repos:
55
hooks:
66
- id: commitlint
77
stages: [commit-msg]
8+
args: ["--config", ".commitlint.config.js"]
89
additional_dependencies: ['@commitlint/config-conventional']
910
- repo: https://github.com/psf/black
1011
rev: 23.7.0
1112
hooks:
1213
- id: black
1314
stages: [commit]
14-
- repo: https://gitlab.com/retnikt/flake9
15-
rev: 3.8.3.post1
15+
- repo: https://gitlab.com/pycqa/flake8
16+
rev: 3.9.0
1617
hooks:
1718
- id: flake8
18-
additional_dependencies: ['toml']
1919
stages: [commit]

‎pydid/doc/doc.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from abc import ABC
44
from typing import Any, List, Optional, Union
55

6-
from pydantic import Field, root_validator, validator
6+
from pydantic import Field, validator
77
from typing_extensions import Annotated
88

99
from ..did import DID, InvalidDIDError
@@ -58,6 +58,7 @@ def _listify(cls, value):
5858
return value
5959
return [value]
6060

61+
6162
class BaseDIDDocument(DIDDocumentRoot, IndexedResource, ABC):
6263
"""Abstract BaseDIDDocument class."""
6364

0 commit comments

Comments
 (0)
Please sign in to comment.