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

Move configuration of tools to pyproject.toml #2686

Merged
merged 2 commits into from May 3, 2023

Conversation

Secrus
Copy link
Contributor

@Secrus Secrus commented Apr 28, 2023

Summary

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [No changes needed] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [No changes needed] I've updated the documentation accordingly.

I have noticed that the tools configured by setup.cfg file are the ones that can be configured in pyproject.toml which already held some of the tools configurations. Since setup.cfg is inherently connected with setuptools which is not used in this project. I didn't see a need for a discussion in this case.

@@ -20,7 +20,7 @@ twine==4.0.2

# Tests & Linting
black==23.3.0
coverage==7.2.2
coverage[toml]==7.2.2
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you add this?

Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it to be able to read from the pyproject?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly. from what I have seen, coverage requires toml extra to work with pyproject.toml configs.

@Kludex
Copy link
Sponsor Member

Kludex commented May 2, 2023

Since we've removed flake8 (which was the only project holding this change), I think this is a good change. 👍

@tomchristie tomchristie merged commit df5dbc0 into encode:master May 3, 2023
5 checks passed
@Kludex
Copy link
Sponsor Member

Kludex commented May 3, 2023

Same PR welcome on other encode projects. 👀 🙏

@Secrus
Copy link
Contributor Author

Secrus commented May 4, 2023

Same PR welcome on other encode projects. eyes pray

Sure, give me a moment ;)

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

Successfully merging this pull request may close these issues.

None yet

3 participants