Skip to content

Commit

Permalink
🏷️ pyright: ignore ozi_spec
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jul 2, 2024
1 parent cddd84e commit 0fe813c
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ozi/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from warnings import warn

import requests
from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from packaging.version import Version
from packaging.version import parse
from pyparsing import ParseException
Expand Down
2 changes: 1 addition & 1 deletion ozi/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import Generator
from typing import Sequence

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore

from ozi.tap import TAP

Expand Down
2 changes: 1 addition & 1 deletion ozi/fix/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path
from typing import NoReturn

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from ozi_templates import load_environment # type: ignore
from ozi_templates.filter import underscorify # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion ozi/fix/build_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pathlib import Path
from typing import Generator

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore

from ozi import comment
from ozi.meson import get_items_by_suffix
Expand Down
2 changes: 1 addition & 1 deletion ozi/fix/missing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pathlib import Path
from typing import TYPE_CHECKING

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from ozi_templates.filter import underscorify # type: ignore

from ozi.fix.build_definition import walk
Expand Down
2 changes: 1 addition & 1 deletion ozi/fix/rewrite_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import Union
from warnings import warn

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore

from ozi.render import build_child
from ozi.render import build_file
Expand Down
2 changes: 1 addition & 1 deletion ozi/new/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from pathlib import Path
from typing import TYPE_CHECKING

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from ozi_templates import load_environment # type: ignore

from ozi.new.interactive import interactive_prompt
Expand Down
2 changes: 1 addition & 1 deletion ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import TypeVar

import requests
from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from prompt_toolkit import Application
from prompt_toolkit.application.current import get_app
from prompt_toolkit.document import Document
Expand Down
2 changes: 1 addition & 1 deletion ozi/new/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import argparse
import sys

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore

from ozi.actions import CloseMatch

Expand Down
2 changes: 1 addition & 1 deletion ozi/new/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from typing import Sequence
from urllib.parse import urlparse

from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from pyparsing import Combine
from pyparsing import ParseException
from pyparsing import ParseResults
Expand Down
2 changes: 1 addition & 1 deletion ozi/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from git import InvalidGitRepositoryError
from git import Repo
from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from ozi_templates.filter import underscorify # type: ignore

from ozi.tap import TAP
Expand Down
2 changes: 1 addition & 1 deletion ozi/spdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
"""SPDX standard metadata parser expression grammars, with support for :pep:`639` keys."""
from ozi_spec import METADATA
from ozi_spec import METADATA # pyright: ignore
from pyparsing import Forward
from pyparsing import Keyword
from pyparsing import Literal
Expand Down
2 changes: 1 addition & 1 deletion ozi/trove.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import TYPE_CHECKING
from warnings import warn

from ozi_spec._license import NOT_SUPPORTED
from ozi_spec._license import NOT_SUPPORTED # pyright: ignore
from trove_classifiers import classifiers

if TYPE_CHECKING:
Expand Down

0 comments on commit 0fe813c

Please sign in to comment.