Skip to content

Commit 3fd5236

Browse files
committed
Run pre-commit linters
1 parent 5c3f9c1 commit 3fd5236

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

_conferences/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def write_conferences_to_file(confs: list[dict]):
9595
yaml.dump(confs, f)
9696

9797

98-
if __name__ == '__main__':
98+
if __name__ == "__main__":
9999
conferences = []
100100

101101
# Get open issues from repo

tests/test.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
@pytest.mark.parametrize("url", routes)
1717
def test_destination(
18-
page: Page,
19-
url: str,
18+
page: Page,
19+
url: str,
2020
) -> None:
2121
"""Test that the destinations page loads with seeded data"""
2222
# Create a destination
@@ -28,11 +28,11 @@ def test_destination(
2828
@pytest.mark.parametrize(
2929
"title, url",
3030
(
31-
("Acerca de", "/es/about/"),
32-
("Inicio", "/es/"),
33-
("Eventos", "/es/events/"),
34-
("Comunidad", "/es/community/"),
35-
("Conferencias", "/es/conferences/"),
31+
("Acerca de", "/es/about/"),
32+
("Inicio", "/es/"),
33+
("Eventos", "/es/events/"),
34+
("Comunidad", "/es/community/"),
35+
("Conferencias", "/es/conferences/"),
3636
),
3737
)
3838
def test_headers_in_language(page: Page, title: str, url: str) -> None:
@@ -57,11 +57,11 @@ def test_switching_lang_es_about(page: Page) -> None:
5757
@pytest.mark.parametrize(
5858
"title, url",
5959
(
60-
("Kutuhusu", "/sw/about/"),
61-
("Nyumbani", "/sw/"),
62-
("Matukio", "/sw/events/"),
63-
("Jumuiya", "/sw/community/"),
64-
("Mikutano", "/sw/conferences/"),
60+
("Kutuhusu", "/sw/about/"),
61+
("Nyumbani", "/sw/"),
62+
("Matukio", "/sw/events/"),
63+
("Jumuiya", "/sw/community/"),
64+
("Mikutano", "/sw/conferences/"),
6565
),
6666
)
6767
def test_headers_in_sw(page: Page, title: str, url: str) -> None:
@@ -86,12 +86,12 @@ def test_switching_lang_sw_about(page: Page) -> None:
8686
@pytest.mark.parametrize(
8787
"title, url",
8888
(
89-
("Black Python Devs | Home", "/"),
90-
("Black Python Devs | Blog", "/blog"),
91-
("Black Python Devs | About Us", "/about/"),
92-
("Black Python Devs | Events", "/events/"),
93-
("Black Python Devs | Conferences", "/conferences/"),
94-
("Black Python Devs | Community", "/community/"),
89+
("Black Python Devs | Home", "/"),
90+
("Black Python Devs | Blog", "/blog"),
91+
("Black Python Devs | About Us", "/about/"),
92+
("Black Python Devs | Events", "/events/"),
93+
("Black Python Devs | Conferences", "/conferences/"),
94+
("Black Python Devs | Community", "/community/"),
9595
),
9696
)
9797
def test_bpdevs_title_en(page: Page, title: str, url: str) -> None:

0 commit comments

Comments
 (0)