Skip to content

Commit

Permalink
chore: ruff improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Oct 3, 2023
1 parent 64eb65c commit c1c45e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions locale_lint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import glob
import sys
from typing import Optional, Tuple
from typing import Optional

import click
from translate.storage.aresource import AndroidResourceFile
Expand All @@ -43,7 +43,7 @@ def run_lint(
directory: str,
source_language: str,
eager: bool,
filter_filenames: Optional[Tuple[str, ...]] = None,
filter_filenames: Optional[tuple[str, ...]] = None,
):
failures = 0
skipped = 0
Expand Down Expand Up @@ -97,6 +97,6 @@ def lint(directory: str, source_language: str, eager: bool):
@click.option("--eager", is_flag=True, default=False)
@click.argument("filenames", nargs=-1, required=True)
def lint_files(
directory: str, source_language: str, eager: bool, filenames: Tuple[str, ...]
directory: str, source_language: str, eager: bool, filenames: tuple[str, ...]
):
run_lint(directory, source_language, eager, filenames)

0 comments on commit c1c45e5

Please sign in to comment.