Skip to content

Commit f386b09

Browse files
author
Josh Sixsmith
committed
Applied black formatting.
1 parent f39053a commit f386b09

File tree

1 file changed

+48
-12
lines changed

1 file changed

+48
-12
lines changed

pygmt/tests/test_projections.py

+48-12
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,7 @@ class TestPolyconic:
477477
Tests for the Polyconic projection.
478478
"""
479479

480-
prj1 = projection.Polyconic(
481-
central_longitude=145, central_latitude=-35, width=12
482-
)
480+
prj1 = projection.Polyconic(central_longitude=145, central_latitude=-35, width=12)
483481
prj2 = projection.Polyconic(width=12)
484482

485483
def test_default_unit(self):
@@ -525,10 +523,18 @@ class TestObliqueMercator1:
525523
central_longitude=145, central_latitude=-35, azimuth=45, width=12
526524
)
527525
prj2 = projection.ObliqueMercator1(
528-
central_longitude=145, central_latitude=-35, azimuth=45, allow_southern_hemisphere=True, width=12
526+
central_longitude=145,
527+
central_latitude=-35,
528+
azimuth=45,
529+
allow_southern_hemisphere=True,
530+
width=12,
529531
)
530532
prj3 = projection.ObliqueMercator1(
531-
central_longitude=145, central_latitude=-35, azimuth=45, align_yaxis=True, width=12
533+
central_longitude=145,
534+
central_latitude=-35,
535+
azimuth=45,
536+
align_yaxis=True,
537+
width=12,
532538
)
533539

534540
def test_default_unit(self):
@@ -554,13 +560,27 @@ class TestObliqueMercator2:
554560
"""
555561

556562
prj1 = projection.ObliqueMercator2(
557-
central_longitude=145, central_latitude=-35, oblique_longitude=110, oblique_latitude=-20, width=12
563+
central_longitude=145,
564+
central_latitude=-35,
565+
oblique_longitude=110,
566+
oblique_latitude=-20,
567+
width=12,
558568
)
559569
prj2 = projection.ObliqueMercator2(
560-
central_longitude=145, central_latitude=-35, oblique_longitude=110, oblique_latitude=-20, allow_southern_hemisphere=True, width=12
570+
central_longitude=145,
571+
central_latitude=-35,
572+
oblique_longitude=110,
573+
oblique_latitude=-20,
574+
allow_southern_hemisphere=True,
575+
width=12,
561576
)
562577
prj3 = projection.ObliqueMercator2(
563-
central_longitude=145, central_latitude=-35, oblique_longitude=110, oblique_latitude=-20, align_yaxis=True, width=12
578+
central_longitude=145,
579+
central_latitude=-35,
580+
oblique_longitude=110,
581+
oblique_latitude=-20,
582+
align_yaxis=True,
583+
width=12,
564584
)
565585

566586
def test_default_unit(self):
@@ -586,13 +606,27 @@ class TestObliqueMercator3:
586606
"""
587607

588608
prj1 = projection.ObliqueMercator3(
589-
central_longitude=145, central_latitude=-35, pole_longitude=110, pole_latitude=-20, width=12
609+
central_longitude=145,
610+
central_latitude=-35,
611+
pole_longitude=110,
612+
pole_latitude=-20,
613+
width=12,
590614
)
591615
prj2 = projection.ObliqueMercator3(
592-
central_longitude=145, central_latitude=-35, pole_longitude=110, pole_latitude=-20, allow_southern_hemisphere=True, width=12
616+
central_longitude=145,
617+
central_latitude=-35,
618+
pole_longitude=110,
619+
pole_latitude=-20,
620+
allow_southern_hemisphere=True,
621+
width=12,
593622
)
594623
prj3 = projection.ObliqueMercator3(
595-
central_longitude=145, central_latitude=-35, pole_longitude=110, pole_latitude=-20, align_yaxis=True, width=12
624+
central_longitude=145,
625+
central_latitude=-35,
626+
pole_longitude=110,
627+
pole_latitude=-20,
628+
align_yaxis=True,
629+
width=12,
596630
)
597631

598632
def test_default_unit(self):
@@ -663,7 +697,9 @@ class TestEquidistantCylindrical:
663697

664698
prj1 = projection.EquidistantCylindrical(width=12)
665699
prj2 = projection.EquidistantCylindrical(central_longitude=145, width=12)
666-
prj3 = projection.EquidistantCylindrical(central_longitude=145, central_latitude=-35, width=12)
700+
prj3 = projection.EquidistantCylindrical(
701+
central_longitude=145, central_latitude=-35, width=12
702+
)
667703

668704
def test_default_unit(self):
669705
"Test the default value for the figure units"

0 commit comments

Comments
 (0)