Misc: add pyproject.toml
authorKienan Stewart <kstewart@efficios.com>
Thu, 29 Feb 2024 17:06:49 +0000 (12:06 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 29 Feb 2024 21:48:54 +0000 (16:48 -0500)
commitb1a6a0bac7cb445d9c6bbb5adc89030a02f73462
tree887c8f7a326333bc87c9134ee091c3fd2df88930
parent83dc3923fa4b0fc2e0ad091392aea64cac046498
Misc: add pyproject.toml

This file provides the metadata of what versions of python are required
to run `make check` and tests[1]. The required versions of python will
also inform `black` for choosing which syntaxes and linting formats to
use[2].

An additional section for the `black` linter[3] is provided. While
empty, it allows `blacken-mode`[4] for emacs to use the
`blacken-only-if-project-is-blackened` setting.

References
==========
[1]: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires
[2]: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#t-target-version
[3]: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#where-black-looks-for-the-file
[4]: https://github.com/pythonic-emacs/blacken

Change-Id: I07765dbd088059f336d278a6212ac8d4ee87c79d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
pyproject.toml [new file with mode: 0644]
This page took 0.0254760000000001 seconds and 4 git commands to generate.