lintbump
This commit is contained in:
parent
a32a18893e
commit
2c72189055
|
@ -23,20 +23,20 @@ repos:
|
|||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/timothycrosley/isort
|
||||
rev: 5.5.3
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/ambv/black
|
||||
rev: 20.8b1
|
||||
rev: 23.9.1
|
||||
hooks:
|
||||
- id: black
|
||||
args:
|
||||
- --line-length=100
|
||||
- --skip-string-normalization
|
||||
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.8.3
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 6.1.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
args:
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
FROM python:3.10
|
||||
FROM python:slim
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 8080
|
||||
ADD nginx.conf.sigil ./
|
||||
RUN /usr/local/bin/python -m pip install --upgrade pip
|
||||
WORKDIR /usr/src/app
|
||||
COPY requirements.txt ./
|
||||
COPY requirements.txt .
|
||||
RUN apt update && apt install -y git
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . .
|
||||
|
|
|
@ -130,6 +130,7 @@ async def get_followed_authors(_, _info, slug) -> List[User]:
|
|||
|
||||
return await followed_authors(user_id)
|
||||
|
||||
|
||||
# 2. Now, we can use the user_id to get the followed authors
|
||||
async def followed_authors(user_id):
|
||||
q = select(User)
|
||||
|
|
Loading…
Reference in New Issue
Block a user