Skip to content

Commit 55c143f

Browse files
sk1pgaborbernat
andauthored
s/setup.cfg/pyproject.toml/ in the development docs (#3058)
Co-authored-by: Alexander Clausen <[email protected]> Co-authored-by: Bernát Gábor <[email protected]>
1 parent 2e31a84 commit 55c143f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/development.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,11 @@ Code style guide
9494

9595
- First and foremost, the linters configured for the project must pass; this generally means following PEP-8 rules,
9696
as codified by: ``flake8``, ``black``, ``isort``, ``pyupgrade``.
97-
- The supported Python versions (and the code syntax to use) are listed in the ``setup.cfg`` file
98-
in the ``options/python_requires`` entry. However, there are some files that have to be kept compatible
97+
- The supported Python versions (and the code syntax to use) are listed in the ``pyproject.toml`` file
98+
in the ``project/requires-python`` entry. However, there are some files that have to be kept compatible
9999
with Python 2.7 to allow and test for running Python 2 envs from tox. They are listed in ``.pre-commit-config.yaml``
100100
under ``repo: https://github.com/asottile/pyupgrade`` under ``hooks/exclude``.
101101
Please do not attempt to modernize them to Python 3.x.
102-
- Packaging options should be specified within ``setup.cfg``; ``setup.py`` is only kept for editable installs.
103102
- All code (tests too) must be type annotated as much as required by ``mypy``.
104103
- We use a line length of 120.
105104
- Exception messages should only be capitalized (and ended with a period/exclamation mark) if they are multi-sentenced,

0 commit comments

Comments
 (0)