rapid-crayon-8232
08/09/2021, 2:44 PM16:41:55.24 [WARN] Completed: test - data/lib/image/tests/test_image.py failed (exit code 4).
ERROR: usage: pex [options] [file_or_dir] [file_or_dir] [...]
pex: error: unrecognized arguments: --cov-report= --cov-config=pyproject.toml --cov
inifile: None
rootdir: /tmp/process-executionrPt8j7
my pants.toml
config is:
[pytest]
version = "pytest==6.2.4"
args = ["--no-header", "-vv"]
pytest_plugins = [
"toml",
"pytest-icdiff",
"pygments",
]
timeout_default = 60
[test]
use_coverage = true
[coverage-py]
interpreter_constraints = [">=3.7"]
version = "coverage[toml]==5.5"
report = ["raw", "xml", "html", "json", "console"]
config = "pyproject.toml"
happy-kitchen-89482
08/09/2021, 2:58 PMrapid-crayon-8232
08/09/2021, 2:59 PMrapid-crayon-8232
08/09/2021, 3:11 PMpants.toml
:
[GLOBAL]
pants_version = "2.6.0"
backend_packages = [
"pants.backend.python",
"pants.backend.codegen.protobuf.python",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.black",
"pants.backend.python.lint.bandit",
"pants.backend.python.lint.pylint",
"pants.backend.python.lint.isort",
"pants.backend.python.typecheck.mypy",
]
[source]
# The Python source root is the repo root. See <https://www.pantsbuild.org/docs/source-roots>.
root_patterns = ["/"]
[python-setup]
# The default interpreter compatibility for code in this repo. Individual targets can override
# this with the `interpreter_constraints` field. See
# <https://www.pantsbuild.org/docs/python-interpreter-compatibility>.
interpreter_constraints = [">=3.7,<3.10"]
requirement_constraints = "constraints.txt"
# We search for interpreters on both on the $PATH and in the `$(pyenv root)/versions` folder.
# If you're using macOS, you may want to leave off the <PATH> entry to avoid using the
# problematic system Pythons. See
# <https://www.pantsbuild.org/docs/python-interpreter-compatibility#changing-the-interpreter-search-path>.
interpreter_search_paths = ["<PATH>", "<PYENV>"]
# Protobuf gnrator
[python-protobuf]
mypy_plugin = true
runtime_dependencies = ["//:grpcio", "//:protobuf"]
[python-infer]
inits = true
## Lintrs and formattrs
[docformatter]
version = "docformatter==1.4"
args = ["--wrap-summaries=80", "--wrap-descriptions=80"]
[black]
version = "black==21.7b0"
config = "pyproject.toml"
[bandit]
args = ["--quiet", "-lll"] # only higth severity errors for now
[pylint]
version = "pylint==2.9.6"
config = "pylintrc"
[isort]
version = "isort[pyproject,colors]==5.9.3"
config = "pyproject.toml"
[mypy]
version = "mypy==0.910"
config = "pyproject.toml"
[pytest]
version = "pytest==6.2.4"
args = ["--no-header", "-vv"]
pytest_plugins = [
"toml",
"pytest-icdiff",
"pygments",
]
timeout_default = 60
[test]
use_coverage = true
[coverage-py]
interpreter_constraints = [">=3.7"]
version = "coverage[toml]==5.5"
report = ["console"]
config = "pyproject.toml"
hundreds-father-404
08/09/2021, 3:40 PMrapid-crayon-8232
08/09/2021, 3:43 PMhundreds-father-404
08/09/2021, 6:41 PMrapid-crayon-8232
08/09/2021, 6:49 PMhundreds-father-404
08/09/2021, 6:59 PMrapid-crayon-8232
08/09/2021, 7:03 PMhundreds-father-404
08/09/2021, 8:05 PM