Skip to content

Commit

Permalink
Apply ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
arxyzan committed Aug 23, 2023
1 parent 63b7a14 commit 89d4a32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hezar/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import tempfile
from dataclasses import asdict, dataclass, field
from enum import Enum
from typing import Any, Dict, List, Optional, Union
from typing import Dict, List, Optional, Union

import torch
from huggingface_hub import create_repo, hf_hub_download, upload_file
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from dataclasses import dataclass, field
from dataclasses import dataclass
from typing import List, Union

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion hezar/preprocessors/text_normalizer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from dataclasses import dataclass, field
from dataclasses import dataclass
from typing import List, Union

from tokenizers import normalizers
Expand Down
2 changes: 1 addition & 1 deletion hezar/preprocessors/tokenizers/whisper_bpe.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from dataclasses import dataclass, field
from dataclasses import dataclass
from typing import List

import numpy as np
Expand Down

0 comments on commit 89d4a32

Please sign in to comment.