From 6ee5d431a03795aa4844ede1714cff02be9ba2f4 Mon Sep 17 00:00:00 2001 From: Yoav Caspi Date: Sun, 6 Jan 2019 22:47:40 +0200 Subject: [PATCH] add warning for using non canonical configuration files. --- doc/en/reference.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 9305cbb95..ac00f5322 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -889,6 +889,9 @@ Here is a list of builtin configuration options that may be written in a ``pytes file, usually located at the root of your repository. All options must be under a ``[pytest]`` section (``[tool:pytest]`` for ``setup.cfg`` files). +.. warning:: usage of configuration file different than the canonical, i.e. ``pytest.ini`` + can break other tools configurations. + Configuration file options may be overwritten in the command-line by using ``-o/--override``, which can also be passed multiple times. The expected format is ``name=value``. For example::