Remove typecheck-analyzer-executor Docker compose service
version: "3.8"
-# environment variable PWD is assumed to be grapl root directory
-
services:
-
- #
- # Python services
- #
- # All of these either are, or depend on, grapl-analyzerlib, which
- # must be typechecked with PyType at the moment. Due to a bug in how
- # Pants invokes MyPy, it will attempt to typecheck grapl-analyzerlib
- # even when only being instructed to typecheck something that
- # depends on it.
- #
- # Until we can type grapl-analyzerlib with MyPy, we'll need to
- # typecheck these libraries here.
-
- typecheck-analyzer-executor:
- image: grapl/analyzer-executor-test:${TAG:-latest}
- build:
- context: ${PWD}/src
- dockerfile: ./python/Dockerfile
- target: analyzer-executor-test
- command: |
- /bin/bash -c "
- source venv/bin/activate &&
- pip install mypy &&
- mypy analyzer_executor/**/*.py
- "
-
typecheck-grapl-analyzerlib:
image: grapl/grapl-analyzerlib-test:${TAG:-latest}
build:
