Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
Upgrade formatted to match latest black standards.
  • Loading branch information
jamesvandyne committed Oct 26, 2024
1 parent 1b79f89 commit 89f6a32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/application/entry/_post_to_bridgy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from data.post import models as post_models


class AlreadySentWebmention(Exception):
...
class AlreadySentWebmention(Exception): ...


def post_to_mastodon(t_entry: entry_models.TEntry, entry_absolute_url: str):
Expand Down
3 changes: 1 addition & 2 deletions apps/domain/files/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
from domain.images import images as image_ops


class UnprocessableFile(Exception):
...
class UnprocessableFile(Exception): ...


def get_file(
Expand Down
1 change: 1 addition & 0 deletions apps/domain/gis/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Mercator calculations used to fix the projection from geo-coordinate to x,y (flat) coordinates.
Adapted from: https://wiki.openstreetmap.org/wiki/Mercator
"""

import math

EARTH_RADIUS_KM = 6378137.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
API Views for interacting with Strava
"""

import logging
from urllib import parse as url_parse

Expand Down

0 comments on commit 89f6a32

Please sign in to comment.