Skip to content

Commit

Permalink
Enable reportIncompatibleVariableOverride in pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjmcdougall committed Jul 25, 2024
1 parent d821b76 commit a6bcced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pins/rsconnect/fs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from dataclasses import asdict, dataclass, field, fields
from pathlib import Path
from typing import Sequence
from typing import ClassVar, Sequence

from fsspec import AbstractFileSystem

Expand Down Expand Up @@ -105,7 +105,7 @@ class BundleFilePath(BundlePath):


class RsConnectFs(AbstractFileSystem):
protocol: str = "rsc"
protocol: ClassVar[str | tuple[str, ...]] = "rsc"

def __init__(self, server_url, **kwargs):
if isinstance(server_url, RsConnectApi):
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ reportAttributeAccessIssue = false
reportCallIssue = false
reportGeneralTypeIssues = false
reportIncompatibleMethodOverride = false
reportIncompatibleVariableOverride = false
reportIndexIssue = false
reportMissingImports = false
reportMissingTypeStubs = false
Expand Down

0 comments on commit a6bcced

Please sign in to comment.