mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix flake8 warnings
This commit is contained in:
parent
443378a057
commit
ff95e6773e
4 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,6 @@ from config import PUBLIC_INSTANCES
|
||||||
import tasks
|
import tasks
|
||||||
|
|
||||||
from typing import List, Optional, Dict, Any, Union
|
from typing import List, Optional, Dict, Any, Union
|
||||||
from typing import TypeVar
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -345,7 +344,7 @@ class BaseActivity(object):
|
||||||
self._post_to_outbox(obj_id, activity, recipients)
|
self._post_to_outbox(obj_id, activity, recipients)
|
||||||
logger.debug(f'called post to outbox hook')
|
logger.debug(f'called post to outbox hook')
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
logger.debug('post to outbox hook not implemented')
|
logger.debug('post to outbox hook not implemented')
|
||||||
|
|
||||||
generate_signature(activity, KEY.privkey)
|
generate_signature(activity, KEY.privkey)
|
||||||
payload = json.dumps(activity)
|
payload = json.dumps(activity)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
celery:
|
celery:
|
||||||
build: .
|
build: .
|
||||||
|
|
|
@ -15,6 +15,7 @@ services:
|
||||||
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
|
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
|
||||||
- MICROBLOGPUB_DEBUG=1
|
- MICROBLOGPUB_DEBUG=1
|
||||||
celery:
|
celery:
|
||||||
|
# image: "instance1_web"
|
||||||
build: .
|
build: .
|
||||||
links:
|
links:
|
||||||
- mongo
|
- mongo
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
|
|
Loading…
Reference in a new issue