This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
mypy --fast-parser error even when dependency is satisfied? #35
Closed
Description
I have the following Dockerfile
:
FROM python:3.6.1
WORKDIR /tmp
RUN apt-get update -y
RUN apt-get install -y git
RUN git clone https://github.com/vim/vim.git && cd vim && ./configure && apt install ncurses-dev && make && make install
RUN vim --version | head -n 1
ADD ./requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY .vim /root/.vim
COPY .vimrc /root/.vimrc
WORKDIR /app
Here is my requirements file:
flake8==3.2.1
flake8-deprecated==1.1
flake8-docstrings==1.0.3
flake8-mock==0.3
flake8-quotes==0.9.0
mypy==0.470
pep8-naming==0.4.1
pylint==1.6.4
pytest==3.0.5
When I open a Python file inside the container I see the message:
You must install the typed_ast package before you can run mypy with `--fast-parser`.
You can do this with `python3 -m pip install typed-ast`.
But if I install that as suggested I see:
Requirement already satisfied: typed-ast in /usr/local/lib/python3.6/site-packages
Metadata
Metadata
Assignees
Labels
No labels