Skip to content

Commit b484c6d

Browse files
authored
Remove note: setup.cfg *does* need [mypy] section (#10364)
As per #9940, a [mypy] section is now required in setup.cfg in order for config to be loaded from that file. However, the docs are out of date. This PR removes that out of date clause.
1 parent 95a2671 commit b484c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/config_file.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ section names in square brackets and flag settings of the form
3535
`NAME = VALUE`. Comments start with ``#`` characters.
3636

3737
- A section named ``[mypy]`` must be present. This specifies
38-
the global flags. The ``setup.cfg`` file is an exception to this.
38+
the global flags.
3939

4040
- Additional sections named ``[mypy-PATTERN1,PATTERN2,...]`` may be
4141
present, where ``PATTERN1``, ``PATTERN2``, etc., are comma-separated

0 commit comments

Comments
 (0)