Skip to content

Commit a3ad243

Browse files
committed
Fix some typing
1 parent 1fc9ae2 commit a3ad243

11 files changed

+1998
-25
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ select = [
131131
# =============================================================================
132132

133133
[tool.pyright]
134-
include = ["src"]
134+
include = [
135+
"src",
136+
"tests",
137+
]
135138

136139

137140
# =============================================================================

tests/cassettes/TestPanodsOnLocations.test_that_dates_are_correct[location0].yaml

Lines changed: 542 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_dates_are_correct[location1].yaml

Lines changed: 1025 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_panoids_are_unique[location0].yaml

Lines changed: 65 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_panoids_are_unique[location1].yaml

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_there_are_the_expected_number_of_results[location0].yaml

Lines changed: 65 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_there_are_the_expected_number_of_results[location1].yaml

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_there_is_at_least_one_item[location0].yaml

Lines changed: 65 additions & 0 deletions
Large diffs are not rendered by default.

tests/cassettes/TestPanodsOnLocations.test_that_there_is_at_least_one_item[location1].yaml

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

tests/test_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
from streetview import get_panorama_meta, get_streetview
66

7-
GOOGLE_MAPS_API_KEY = os.environ.get("GOOGLE_MAPS_API_KEY", None)
7+
GOOGLE_MAPS_API_KEY = os.environ["GOOGLE_MAPS_API_KEY"]
88

99

1010
@pytest.mark.vcr(filter_query_parameters=["key"])
1111
def test_readme_metadata_example():
12-
1312
result = get_panorama_meta(
1413
pano_id="_R1mwpMkiqa2p0zp48EBJg",
1514
api_key=GOOGLE_MAPS_API_KEY,

0 commit comments

Comments
 (0)