Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to pyproject.toml for tools configuration #3922

Closed
5 of 7 tasks
ltalirz opened this issue Apr 11, 2020 · 8 comments
Closed
5 of 7 tasks

switch to pyproject.toml for tools configuration #3922

ltalirz opened this issue Apr 11, 2020 · 8 comments

Comments

@ltalirz
Copy link
Member

ltalirz commented Apr 11, 2020

More and more tools support using the pyproject.toml file (PEP 518) for specifying their configuration.
Making use of this allows to unclutter the top level of the aiida-core repository and keep the configuration of these tools in one place.

Support for pyproject.toml in our tool chain:

@greschd
Copy link
Member

greschd commented Apr 13, 2020

A good reference on the (build aspects of the) pyproject.toml file: https://snarky.ca/what-the-heck-is-pyproject-toml/

@csadorf
Copy link
Contributor

csadorf commented Aug 31, 2020

It appears that pytest 6.0 (rc was released) will have support for pyproject.toml configurations: https://github.com/pytest-dev/pytest/releases/tag/6.0.0rc1

@greschd
Copy link
Member

greschd commented Aug 31, 2020

Pytest 6.0 proper is already out, see https://pypi.org/project/pytest/#history. The latest release is 6.0.1.

@csadorf
Copy link
Contributor

csadorf commented Aug 31, 2020

Pytest 6.0 proper is already out, see https://pypi.org/project/pytest/#history. The latest release is 6.0.1.

Thx, I missed that.

@ltalirz
Copy link
Member Author

ltalirz commented Oct 7, 2020

@sphuber I guess you didn't see this issue, might be closed together with #4409

@sphuber
Copy link
Contributor

sphuber commented Oct 7, 2020

I did see it, but yapf is still open. As well as a few others that I just added

@sphuber
Copy link
Contributor

sphuber commented Aug 25, 2021

I am closing this since I recently added yapf and mypy to it.

@sphuber sphuber closed this as completed Aug 25, 2021
@sphuber sphuber added this to the v2.0.0 milestone Aug 25, 2021
@chrisjsewell
Copy link
Member

Cheers @sphuber, and hopefully at some point we can ditch our setup.json/setup.py for it as well: pypa/setuptools#1688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants